Merge pull request #14 from drpebcak/windows-pr-clone [CI SKIP]

fix ref variable usage
This commit is contained in:
Brad Rydzewski 2019-04-18 16:29:42 -07:00 committed by GitHub
commit 584c0ee731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,5 +12,5 @@ if (!(Test-Path .git)) {
git fetch $FLAGS origin "+refs/heads/${Env:DRONE_COMMIT_BRANCH}:" git fetch $FLAGS origin "+refs/heads/${Env:DRONE_COMMIT_BRANCH}:"
git checkout $Env:DRONE_COMMIT_BRANCH git checkout $Env:DRONE_COMMIT_BRANCH
git fetch origin $Env:DRONE_COMMIT_REF: git fetch origin "${Env:DRONE_COMMIT_REF}:"
git rebase $Env:DRONE_COMMIT_SHA git rebase $Env:DRONE_COMMIT_SHA