diff options
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/appveyor.yml b/appveyor.yml index 602ef4e6..44603450 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,12 +39,6 @@ init: # scripts that run after cloning repository (before the build step, not after!) install: - # work around sourceforge brokenness by temporarily download some files ourselves: - - ps: New-Item -ItemType Directory -Force -Path $env:TEMP\chocolatey\nsis.portable\3.02.0.20160720 - - ps: invoke-webrequest -uri https://10gbps-io.dl.sourceforge.net/project/nsis/NSIS%203%20Pre-release/3.0rc2/nsis-3.0rc2.zip -outfile $env:TEMP\chocolatey\nsis.portable\3.02.0.20160720\download - - ps: New-Item -ItemType Directory -Force -Path ..\cmake\Download\boost - - ps: invoke-webrequest -uri http://download.openpkg.org/components/cache/boost/boost_1_62_0.tar.bz2 -outfile ..\cmake\Download\boost\boost_1_62_0.tar.bz2 - # test_bbackupd needs 7zip (or cmake -E tar) to extract tar archives on Windows: - cinst -y --limit-output 7zip.commandline nsis.portable - dir "c:\Program Files" @@ -105,13 +99,14 @@ deploy: artifact: BoxBackup-$(compiled_version) description: "Windows client binaries auto-built by AppVeyor" draft: false - prerelease: true + # Master branch builds are full releases (not pre-releases), all others are pre-releases + prerelease: $(if ($env:APPVEYOR_REPO_BRANCH.equals('master')) {'false'} else {'true'})" auth_token: secure: WZi3MJGA5zIIAAij0if4auYeltJlyWUOePTYlCGvrNrgEVjYRkqILHzvVKDnLn43 on: branch: - master - - windows_binary_packages + - mark_master_builds_as_full_releases cache: - '%TEMP%\chocolatey' |