Add DEB packaging to CI

This commit is contained in:
Federico Terzi 2020-01-26 22:13:07 +01:00
parent fa74737d5d
commit 15ad35046a

View File

@ -8,3 +8,11 @@ steps:
sha256sum espanso-*.gz | awk '{ print $1 }' > espanso-linux-sha256.txt
ls -la
displayName: "Cargo build and packaging for Linux"
- script: |
cargo install cargo-deb
cargo deb
cp target/release/debian/espanso*amd64.deb espanso-debian-amd64.deb
sha256sum espanso-*amd64.deb | awk '{ print $1 }' > espanso-debian-amd64-sha256.txt
ls -la
displayName: "Packaging deb package"