mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-25 22:51:09 +00:00
Add release script
This commit is contained in:
parent
c341b87d5f
commit
10585083a3
2 changed files with 8 additions and 6 deletions
|
@ -79,12 +79,8 @@ steps:
|
||||||
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
- rustup target add wasm32-unknown-unknown
|
- rustup target add wasm32-unknown-unknown
|
||||||
- ./cargo-binstall -y trunk
|
- ./cargo-binstall -y trunk
|
||||||
- ./.cargo_home/bin/trunk build --release
|
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
||||||
- cargo build --release
|
- ./scripts/build_release.sh
|
||||||
- ls -la target/release/ibis
|
|
||||||
- cp target/release/ibis .
|
|
||||||
- gzip ibis
|
|
||||||
- ls -la ibis.gz
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
|
|
6
scripts/build_release.sh
Executable file
6
scripts/build_release.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
CARGO_TARGET_DIR=target/frontend trunk build --release
|
||||||
|
cargo build --release
|
||||||
|
gzip target/release/ibis -c > ibis.gz
|
Loading…
Reference in a new issue