espanso/ci/build-linux.yml
2019-09-21 12:17:47 +02:00

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"