mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 14:52:37 +00:00
13 lines
240 B
Bash
13 lines
240 B
Bash
# `before_deploy` phase: here we package the build artifacts
|
|
|
|
set -ex
|
|
|
|
cargo build --target $TARGET --release
|
|
|
|
mkdir staging
|
|
|
|
cp target/$TARGET/release/mdbook staging
|
|
|
|
cd staging
|
|
|
|
tar czf ../${PROJECT_NAME}-${TRAVIS_TAG}-${TARGET}.tar.gz *
|