aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-05-04 23:01:47 +0800
committerGitHub <noreply@github.com>2017-05-04 23:01:47 +0800
commitae3330228bebf8d8036800c19d65d4e04cf61630 (patch)
tree39d5cd30729a9cc47d053db0ae9899966aeec2ac
parent57a25d95612298685fb909574282b72eff4bf782 (diff)
downloaddexon-solidity-ae3330228bebf8d8036800c19d65d4e04cf61630.tar
dexon-solidity-ae3330228bebf8d8036800c19d65d4e04cf61630.tar.gz
dexon-solidity-ae3330228bebf8d8036800c19d65d4e04cf61630.tar.bz2
dexon-solidity-ae3330228bebf8d8036800c19d65d4e04cf61630.tar.lz
dexon-solidity-ae3330228bebf8d8036800c19d65d4e04cf61630.tar.xz
dexon-solidity-ae3330228bebf8d8036800c19d65d4e04cf61630.tar.zst
dexon-solidity-ae3330228bebf8d8036800c19d65d4e04cf61630.zip
Try another way to truncate prerelease.txt
-rw-r--r--appveyor.yml2
1 files changed, 1 insertions, 1 deletions
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: