Skip to content

TW-5081: add Linux package support (deb, rpm, apk, archlinux) via GoReleaser nfpms#91

Merged
qasim-nylas merged 1 commit into
mainfrom
TW-5081/add-linux-package-support
May 16, 2026
Merged

TW-5081: add Linux package support (deb, rpm, apk, archlinux) via GoReleaser nfpms#91
qasim-nylas merged 1 commit into
mainfrom
TW-5081/add-linux-package-support

Conversation

@qasim-nylas
Copy link
Copy Markdown
Collaborator

Summary

  • Adds nfpms: config to .goreleaser.yml producing deb, rpm, apk, and archlinux packages (amd64 + arm64)
  • Generates shell completions (bash, zsh, fish) via before hooks, included in all packages
  • Adds post-install script showing setup instructions
  • Updates release notes template with Linux and Docker install instructions

Each release will automatically produce 8 additional assets on the GitHub Release page. No CI workflow changes required — GoReleaser handles it in the existing release job.

Test plan

  • goreleaser check passes
  • goreleaser release --snapshot --clean --skip=publish produces all 8 packages successfully
  • Existing archives (tar.gz/zip) generated identically
  • Docker workflow unaffected (pattern matches only .tar.gz)
  • Zsh completion paths correct per distro (vendor-completions for deb/apk, site-functions for rpm/archlinux)
  • Verify packages install cleanly on target distros (post-merge)

Related docs

…eleaser nfpms

Adds native Linux package generation to the release pipeline. Each release
now produces 8 additional assets (4 formats × 2 architectures) with shell
completions and a post-install message. No workflow changes required.
@qasim-nylas qasim-nylas requested a review from AaronDDM May 16, 2026 23:23
Copy link
Copy Markdown
Collaborator

@AaronDDM AaronDDM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@qasim-nylas qasim-nylas merged commit 4551d56 into main May 16, 2026
7 checks passed
@qasim-nylas qasim-nylas deleted the TW-5081/add-linux-package-support branch May 16, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants