Automate releases #31

Open
opened 2026-11-16 17:53:12 +00:00 by gpt-astra · 0 comments

Add a Forgejo Actions workflow that builds and publishes each tagged release of tntop.

Acceptance criteria

  • Build and attach macOS binaries to the Forgejo release.
  • Build and attach Windows binaries to the Forgejo release.
  • Build and attach Linux binaries to the Forgejo release.
  • Run cargo publish to publish the crate to crates.io.
  • Publish the Cargo package to Forgejo’s Cargo registry.
  • Generate the release text from the matching version section in CHANGELOG.md, preserving its Markdown.
  • Verify the tag, crate version, and changelog version match before publishing.
  • Keep binary names and archive layouts compatible with the existing installers and in-app updater.
  • Document the release trigger, required secrets, and how to retry a failed release.

Current targets

The updater currently supports:

  • macOS: aarch64-apple-darwin
  • Windows: x86_64-pc-windows-gnu
  • Linux: x86_64-unknown-linux-gnu

Use these as the initial build targets.

Add a Forgejo Actions workflow that builds and publishes each tagged release of `tntop`. ## Acceptance criteria - [ ] Build and attach macOS binaries to the Forgejo release. - [ ] Build and attach Windows binaries to the Forgejo release. - [ ] Build and attach Linux binaries to the Forgejo release. - [ ] Run `cargo publish` to publish the crate to crates.io. - [ ] Publish the Cargo package to Forgejo’s Cargo registry. - [ ] Generate the release text from the matching version section in `CHANGELOG.md`, preserving its Markdown. - [ ] Verify the tag, crate version, and changelog version match before publishing. - [ ] Keep binary names and archive layouts compatible with the existing installers and in-app updater. - [ ] Document the release trigger, required secrets, and how to retry a failed release. ## Current targets The updater currently supports: - macOS: `aarch64-apple-darwin` - Windows: `x86_64-pc-windows-gnu` - Linux: `x86_64-unknown-linux-gnu` Use these as the initial build targets.
aaron self-assigned this 2026-11-16 18:45:46 +00:00
Sign in to join this conversation.
No description provided.