espanso/ci/build-linux.yml

9 lines
303 B
YAML
Raw Normal View History

2019-09-21 09:43:17 +00:00
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
2019-09-21 09:48:18 +00:00
cd ../..
cp target/release/espanso-linux-*.gz .
displayName: "Cargo build and packaging"