Fixed nightly detection
This commit is contained in:
1 parent
11dbef6f37
commit
0171b19084
2 files changed
+4
-2
No files matched your search
@@ -1,7 +1,5 @@
|
|||||||
$Env:NIGHTLY_BUILD = false
|
|
||||||
if($Env:APPVEYOR_REPO_TAG -ne "true") {
|
if($Env:APPVEYOR_REPO_TAG -ne "true") {
|
||||||
if($Env:APPVEYOR_REPO_BRANCH -eq "appveyorTest"){
|
if($Env:APPVEYOR_REPO_BRANCH -eq "appveyorTest"){
|
||||||
$targetTag = "Nightly"
|
|
||||||
$Env:NIGHTLY_BUILD = true
|
$Env:NIGHTLY_BUILD = true
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
if($Env:APPVEYOR_REPO_TAG -eq "true") {
|
if($Env:APPVEYOR_REPO_TAG -eq "true") {
|
||||||
$targetTag = $Env:APPVEYOR_REPO_TAG_NAME
|
$targetTag = $Env:APPVEYOR_REPO_TAG_NAME
|
||||||
Write-Host "Tag=$targetTag"
|
Write-Host "Tag=$targetTag"
|
||||||
|
$Env:NIGHTLY_BUILD = "false"
|
||||||
|
if($targetTag -eq "Nightly") {
|
||||||
|
$Env:NIGHTLY_BUILD = "true"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
Return;
|
Return;
|
||||||
|
|||||||
Reference in new issue
Block a user