Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
rename release file
Browse files Browse the repository at this point in the history
  • Loading branch information
Velenir committed Dec 17, 2019
1 parent 7bef546 commit c0313a9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ before_deploy:
# zip ./dist folder if tag IS present
- if [[ $TRAVIS_TAG != "" && $IPFS_HASH = "" ]]; then
pushd dist;
zip -r $OLDPWD/release_$TRAVIS_TAG.zip *;
zip -r $OLDPWD/web3_$TRAVIS_TAG.zip *;
popd;
ls;
sudo snap install ipfs;
ipfs init;
export IPFS_HASH=$(ipfs add dist/ -r --only-hash --quiet | tail -1);
Expand Down Expand Up @@ -66,7 +65,7 @@ deploy:
- provider: releases
api_key: $GITHUB_RELEASE_TAG
body: "IPFS hash: $IPFS_HASH"
file: release_$TRAVIS_TAG.zip
file: web3_$TRAVIS_TAG.zip
skip_cleanup: true
on:
tags: true

0 comments on commit c0313a9

Please sign in to comment.