Fix pull request clone on Windows
This commit is contained in:
parent
3174a3cfd3
commit
1ef9ff7e4d
@ -50,7 +50,7 @@ $Env:GIT_COMMITTER_EMAIL = $Env:GIT_AUTHOR_EMAIL
|
|||||||
|
|
||||||
switch ($Env:DRONE_BUILD_EVENT) {
|
switch ($Env:DRONE_BUILD_EVENT) {
|
||||||
"pull_request" {
|
"pull_request" {
|
||||||
Invoke-Expression "${PSScriptRoot}\clone-pull-reqest.ps1"
|
Invoke-Expression "${PSScriptRoot}\clone-pull-request.ps1"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
"tag" {
|
"tag" {
|
||||||
@ -61,4 +61,4 @@ switch ($Env:DRONE_BUILD_EVENT) {
|
|||||||
Invoke-Expression "${PSScriptRoot}\clone-commit.ps1"
|
Invoke-Expression "${PSScriptRoot}\clone-commit.ps1"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user