espanso/ci/build-linux.yml
2019-09-21 11:48:18 +02:00

9 lines
303 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 .
displayName: "Cargo build and packaging"