Merge branch 'package-deb' into dev
This commit is contained in:
commit
cbf34e0e53
|
@ -39,3 +39,9 @@ zip = "0.5.3"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cmake = "0.1.31"
|
cmake = "0.1.31"
|
||||||
|
|
||||||
|
[package.metadata.deb]
|
||||||
|
maintainer = "Federico Terzi <federicoterzi96@gmail.com>"
|
||||||
|
depends = "$auto, systemd, libxtst6, libxdo3, xclip, libnotify-bin"
|
||||||
|
section = "utility"
|
||||||
|
license-file = ["LICENSE", "1"]
|
|
@ -8,3 +8,11 @@ steps:
|
||||||
sha256sum espanso-*.gz | awk '{ print $1 }' > espanso-linux-sha256.txt
|
sha256sum espanso-*.gz | awk '{ print $1 }' > espanso-linux-sha256.txt
|
||||||
ls -la
|
ls -la
|
||||||
displayName: "Cargo build and packaging for Linux"
|
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"
|
Loading…
Reference in New Issue
Block a user