blob: b8f67d4579424417214efae884af3ecf07d73927 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# `before_deploy` phase: here we package the build artifacts
set -ex
# create a "staging" directory
mkdir staging
# TODO update this part to copy the artifacts that make sense for your project
# NOTE All Cargo build artifacts will be under the 'target/$TARGET/{debug,release}'
cp target/$TARGET/release/ilc* staging
cd staging
# release tarball will look like 'rust-everywhere-v1.2.3-x86_64-unknown-linux-gnu.tar.gz'
tar czf ../${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.tar.gz *
|