10 lines
316 B
YAML
10 lines
316 B
YAML
steps:
|
|
- script: |
|
|
cargo build --release
|
|
VER=$(cat Cargo.toml| grep version -m 1 | awk -F '"' '{ print $2 }')
|
|
cd target/release/
|
|
tar czf "espanso-linux-$VER.tar.gz" espanso
|
|
cd ../..
|
|
cp target/release/espanso-linux-*.gz .
|
|
ls -la
|
|
displayName: "Cargo build and packaging" |