Add Debian-based system builds (#898)

* Add Debian-based system builds

* Address feedback

* Remove git as a listed dependency for Debian package
This commit is contained in:
Kreeblah
2024-09-03 20:50:39 -07:00
committed by GitHub
parent 983c5243ba
commit 7b2623ea3c
3 changed files with 62 additions and 3 deletions

View File

@@ -59,7 +59,15 @@ assets = [{ source = "target/release/topgrade", dest = "/usr/bin/topgrade" }]
git = "*"
[package.metadata.deb]
depends = "$auto,git"
name = "topgrade"
maintainer = "Chris Gelatt <kreeblah@gmail.com>"
copyright = "2024, Topgrade Team"
license-file = ["LICENSE", "0"]
depends = "$auto"
extended-description = "Keeping your system up to date usually involves invoking multiple package managers. This results in big, non-portable shell one-liners saved in your shell. To remedy this, Topgrade detects which tools you use and runs the appropriate commands to update them."
section = "utils"
priority = "optional"
default-features = true
[target.'cfg(unix)'.dependencies]
nix = { version = "~0.29", features = ["hostname", "signal", "user"] }