fix ref variable usage
This commit is contained in:
parent
214a9d2492
commit
68c60db9d5
@ -12,5 +12,5 @@ if (!(Test-Path .git)) {
|
||||
git fetch $FLAGS origin "+refs/heads/${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
|
||||
|
Loading…
Reference in New Issue
Block a user