diff --git a/.appveyor/prepareDeploy.ps1 b/.appveyor/prepareDeploy.ps1 index 6e32e3a2..e9db2bc9 100644 --- a/.appveyor/prepareDeploy.ps1 +++ b/.appveyor/prepareDeploy.ps1 @@ -7,6 +7,8 @@ else{ Return; } +$Env:IS_BETA_RELEASE = ($Env:APPVEYOR_REPO_TAG_NAME -match "beta") + $getRelaseInfoParams = @{ Uri = "https://api.github.com/repos/Vocaluxe/Vocaluxe/releases/tags/$targetTag"; Method = 'GET'; diff --git a/appveyor.yml b/appveyor.yml index 09886aab..004abdfd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -90,7 +90,7 @@ deploy: auth_token: secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW artifact: ReleaseZip - prerelease: true + prerelease: $(IS_BETA_RELEASE) on: APPVEYOR_REPO_TAG: true NIGHTLY_BUILD: false @@ -102,6 +102,7 @@ deploy: auth_token: secure: JSlN/em0JdspVn8jwaQ4IjugY6OQi0au4Qq0rhctJmcfGMaEGnUAOmDFULI48REW artifact: ReleaseZip + prerelease: true on: APPVEYOR_REPO_TAG: true NIGHTLY_BUILD: true