mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 03:21:10 +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
|
||||
- rustup target add wasm32-unknown-unknown
|
||||
- ./cargo-binstall -y trunk
|
||||
- ./.cargo_home/bin/trunk build --release
|
||||
- cargo build --release
|
||||
- ls -la target/release/ibis
|
||||
- cp target/release/ibis .
|
||||
- gzip ibis
|
||||
- ls -la ibis.gz
|
||||
- export PATH="$PATH:$(pwd)/.cargo_home/bin/"
|
||||
- ./scripts/build_release.sh
|
||||
when:
|
||||
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