1
0
Fork 0
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:
Felix Ableitner 2024-03-08 14:55:55 +01:00
parent c341b87d5f
commit 10585083a3
2 changed files with 8 additions and 6 deletions

View file

@ -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
View 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