From 57a25d95612298685fb909574282b72eff4bf782 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 4 May 2017 12:46:18 +0200 Subject: Set prerelease.txt to be empty on the release branch. --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 22ec30a0..4cf254d8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -54,7 +54,7 @@ install: - git submodule update --init --recursive - ps: $prerelease = "nightly." - ps: $prerelease += Get-Date -format "yyyy.M.d" - - ps: Set-Content prerelease.txt $prerelease + - ps: if ( "%APPVEYOR_REPO_BRANCH%" -eq "release" ) { Set-Content prerelease.txt "" } else { Set-Content prerelease.txt $prerelease } - scripts/install_deps.bat - set ETHEREUM_DEPS_PATH=%APPVEYOR_BUILD_FOLDER%\deps\install before_build: -- cgit From ae3330228bebf8d8036800c19d65d4e04cf61630 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 4 May 2017 17:01:47 +0200 Subject: Try another way to truncate prerelease.txt --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 4cf254d8..3e3cebc1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -54,7 +54,7 @@ install: - git submodule update --init --recursive - ps: $prerelease = "nightly." - ps: $prerelease += Get-Date -format "yyyy.M.d" - - ps: if ( "%APPVEYOR_REPO_BRANCH%" -eq "release" ) { Set-Content prerelease.txt "" } else { Set-Content prerelease.txt $prerelease } + - ps: if($env:appveyor_repo_branch -eq 'release') { Set-Content prerelease.txt $null } else { Set-Content prerelease.txt $prerelease } - scripts/install_deps.bat - set ETHEREUM_DEPS_PATH=%APPVEYOR_BUILD_FOLDER%\deps\install before_build: -- cgit