windows build tweaks

This commit is contained in:
yeastplume 2019-02-25 11:10:23 +00:00
parent 36ae74e695
commit 05b9dab2cd
No known key found for this signature in database
GPG key ID: AE6E005DF6E76B95

View file

@ -6,7 +6,7 @@ export CHANGELOG_GITHUB_TOKEN="$token"
tagname=`git describe --tags --exact-match 2>/dev/null || git symbolic-ref -q --short HEAD`
echo 'make a tarball for the release binary...\n'
echo 'package the release binary...\n'
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
@ -23,12 +23,12 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
elif [[ $TRAVIS_OS_NAME == 'windows' ]]; then
# Custom requirements on windows
cd target/release ; rm -f *.zip; zip "grin-wallet-$tagname-$TRAVIS_JOB_ID-win-x64.zip" grin
cd target/release ; rm -f *.zip; zip "grin-wallet-$tagname-$TRAVIS_JOB_ID-win-x64.zip" grin-wallet.exe
/bin/ls -ls *.zip | awk '{print $6,$7,$8,$9,$10}'
md5sum "grin-wallet-$tagname-$TRAVIS_JOB_ID-win-x64.zip" > "grin-wallet-$tagname-$TRAVIS_JOB_ID-win-x64.zip"-md5sum.txt
/bin/ls -ls *-md5sum.txt | awk '{print $6,$7,$8,$9,$10}'
cd - > /dev/null;
echo "win x64 tarball generated\n"
echo "win x64 zip file generated\n"
# Only generate changelog on Linux platform, to avoid duplication
exit 0