Skip to content

Add automated Debian (.deb) package generation to CI pipeline#80

Merged
umpire274 merged 2 commits intomainfrom
v0.5.6
Nov 17, 2025
Merged

Add automated Debian (.deb) package generation to CI pipeline#80
umpire274 merged 2 commits intomainfrom
v0.5.6

Conversation

@umpire274
Copy link
Owner

This PR introduces official Debian package support for rFortune and fully automates the .deb build and release process.

✅ Key changes

  • Added Debian packaging metadata under [package.metadata.deb] in Cargo.toml.
  • Integrated cargo-deb into the CI workflow on Ubuntu runners.
  • Implemented automatic generation, signing, and publishing of .deb artifacts.
  • Ensured .deb checksums and signatures are included in release assets.
  • Updated asset collection logic to support Debian packages consistently across platforms.

🎯 Purpose

This enhancement addresses Issue #79 – “Provide a .deb package”, enabling Linux users to install rFortune using their native package manager workflow.

📦 Result

Upon each release:

  • A fully built and signed .deb package is included.
  • Checksums and GPG signatures are published alongside existing tar/zip artifacts.
  • No manual packaging steps are required.

Implemented Debian package support using cargo-deb and integrated it into the GitHub Actions release pipeline.
The CI now builds, signs, and publishes a .deb artifact for Linux alongside existing tar/zip distributions.
Updated Cargo.toml to include Debian packaging metadata and asset rules.
@umpire274 umpire274 self-assigned this Nov 17, 2025
@umpire274 umpire274 added the enhancement New feature or request label Nov 17, 2025
@umpire274 umpire274 merged commit bf62f0c into main Nov 17, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant