1
0
mirror of https://github.com/lise-henry/crowbook synced 2024-11-18 00:13:55 +01:00
crowbook/ci/before_deploy.sh

21 lines
491 B
Bash
Raw Normal View History

2016-02-23 14:57:10 +01:00
# `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/crowbook 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 *