add extra folder to packages

This commit is contained in:
rabite 2019-05-06 23:32:27 +02:00
parent c1438f0615
commit b9349d62e5
1 changed files with 2 additions and 1 deletions

View File

@ -31,13 +31,14 @@ install:
- command -v cross || cargo install cross
script:
- cross build --target $TARGET --release
- cross build --target $TARGET ${TRAVIS_TAG:+"--release"}
before_deploy:
- name="hunter-$TRAVIS_BRANCH-$ARCH"
- mkdir $name
- cp target/$TARGET/release/hunter $name/
- cp README.md LICENSE $name/
- cp -r extra $name/
- GZIP=-9 tar czvf $name.tar.gz $name/*
deploy: