Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust travis deployment for renamed cardano-wallet binary #2048

Merged
merged 4 commits into from
Aug 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 3 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,11 @@ jobs:
############################

# Fetch the linux archive
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-linux64/latest/download/1 | tar xz
- find . -maxdepth 1 -type d -name "cardano-wallet-*" -exec mv \{} cardano-wallet-linux64 \;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cardano-wallet-* wouldn't match cardano-wallet.

- mv cardano-wallet-linux64/cardano-wallet cardano-wallet-linux64/cardano-wallet
- tar czf cardano-wallet-$TRAVIS_TAG-linux64.tar.gz cardano-wallet-linux64
- rm -rf cardano-wallet-linux64

- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-linux64/latest/download/1 | --output cardano-wallet-$TRAVIS_TAG-linux64.tar.gz
Anviking marked this conversation as resolved.
Show resolved Hide resolved
# Fetch the MacOS archive
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-macos64/latest/download/1 | tar xz
- find . -maxdepth 1 -type d -name "cardano-wallet-*" -exec mv \{} cardano-wallet-macos64 \;
- mv cardano-wallet-macos64/cardano-wallet cardano-wallet-macos64/cardano-wallet
- tar czf cardano-wallet-$TRAVIS_TAG-macos64.tar.gz cardano-wallet-macos64
- rm -rf cardano-wallet-macos64

- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-macos64/latest/download/1 --output cardano-wallet-$TRAVIS_TAG-macos64.tar.gz
# Fetch the Windows archive
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-win64/latest/download/1 --output cardano-wallet-win64.zip
- unzip -d cardano-wallet-win64 cardano-wallet-win64.zip
- mv cardano-wallet-win64/cardano-wallet.exe cardano-wallet-win64/cardano-wallet.exe
- zip -r cardano-wallet-$TRAVIS_TAG-win64.zip cardano-wallet-win64
- rm -rf cardano-wallet-win64
- rm cardano-wallet-win64.zip
- travis_retry curl -L https://hydra.iohk.io/job/Cardano/cardano-wallet/cardano-wallet-win64/latest/download/1 --output cardano-wallet-$TRAVIS_TAG-win64.zip

############################
# jörmungandr
Expand Down