Skip to content

Commit

Permalink
deploy: package README and LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
wwylele committed Nov 14, 2019
1 parent f1e3e7c commit 5c17df3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ env:
- RUST_BACKTRACE=1
before_deploy:
- mkdir deploy
- cp README.md LICENSE-APACHE LICENSE-MIT target/release
- cd target/release/
- export ZIP_NAME=../../deploy/save3ds-$TRAVIS_TAG-$TRAVIS_COMMIT-$TRAVIS_OS_NAME.zip
- if [ "$TRAVIS_OS_NAME" == "windows" ];
then 7z a $ZIP_NAME save3ds_fuse.exe;
else zip $ZIP_NAME save3ds_fuse;
then 7z a $ZIP_NAME save3ds_fuse.exe README.md LICENSE-APACHE LICENSE-MIT;
else zip $ZIP_NAME save3ds_fuse README.md LICENSE-APACHE LICENSE-MIT;
fi
- cd ../..
deploy:
Expand Down

0 comments on commit 5c17df3

Please sign in to comment.