build: add linux builds and deb packages - #50
Merged
Merged
Conversation
The binary has always compiled for linux and carries no macOS-specific code; only the release config was darwin-only, so Claude Code users on Linux had nothing to install. nfpms then turns those builds into .deb for the apt repository. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>
lexfrei
marked this pull request as ready for review
September 19, 2026 16:29
The release now produces linux binaries, so CI should compile them too; until now a linux-only build break would have surfaced at release time. Assisted-by: LLM Signed-off-by: Aleksei Sviridkin <f@lex.la>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds linux builds and
.debpackages.The binary has always compiled for linux and carries no macOS-specific code, but the release config only built darwin, so anyone running Claude Code on Linux had nothing to install.
nfpmsthen turns those builds into.debfor the apt repository.Changes
linuxadded togoos, so releases carry linux amd64 and arm64 archivesnfpmsblock producing.debfor both architecturesTest plan
go test ./...andgolangci-lint runare clean. Built the packages with goreleaser, generated a signed apt repository from them, and ranapt updateandapt installagainst it in an isolated apt root: the signature verified and the package resolved.