Modified pre-release tagging: true for nightly and tags containing beta, false for all others (normal releases).
This commit is contained in:
1 parent
8d6ddf6d26
commit
bcc79b77d8
2 files changed
+4
-1
No files matched your search
@@ -7,6 +7,8 @@ else{
|
|||||||
Return;
|
Return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$Env:IS_BETA_RELEASE = ($Env:APPVEYOR_REPO_TAG_NAME -match "beta")
|
||||||
|
|
||||||
$getRelaseInfoParams = @{
|
$getRelaseInfoParams = @{
|
||||||
Uri = "https://api.github.com/repos/Vocaluxe/Vocaluxe/releases/tags/$targetTag";
|
Uri = "https://api.github.com/repos/Vocaluxe/Vocaluxe/releases/tags/$targetTag";
|
||||||
Method = 'GET';
|
Method = 'GET';
|
||||||
|
|||||||
+2
-1
@@ -90,7 +90,7 @@ deploy:
|
|||||||
auth_token:
|
auth_token:
|
||||||
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||||
artifact: ReleaseZip
|
artifact: ReleaseZip
|
||||||
prerelease: true
|
prerelease: $(IS_BETA_RELEASE)
|
||||||
on:
|
on:
|
||||||
APPVEYOR_REPO_TAG: true
|
APPVEYOR_REPO_TAG: true
|
||||||
NIGHTLY_BUILD: false
|
NIGHTLY_BUILD: false
|
||||||
@@ -102,6 +102,7 @@ deploy:
|
|||||||
auth_token:
|
auth_token:
|
||||||
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW
|
||||||
artifact: ReleaseZip
|
artifact: ReleaseZip
|
||||||
|
prerelease: true
|
||||||
on:
|
on:
|
||||||
APPVEYOR_REPO_TAG: true
|
APPVEYOR_REPO_TAG: true
|
||||||
NIGHTLY_BUILD: true
|
NIGHTLY_BUILD: true
|
||||||
|
|||||||
Reference in new issue
Block a user