Skip to content

build: add linux builds and deb packages - #50

Merged
lexfrei merged 2 commits into
masterfrom
feat/deb-packages
Sep 19, 2026
Merged

lexfrei merged 2 commits into
masterfrom
feat/deb-packages

Conversation

@lexfrei

@lexfrei lexfrei commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Summary

Adds linux builds and .deb packages.

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. nfpms then turns those builds into .deb for the apt repository.

Changes

  • linux added to goos, so releases carry linux amd64 and arm64 archives
  • nfpms block producing .deb for both architectures
  • apt instructions in the README
  • CLAUDE.md fixed, it still described the release as darwin-only

Test plan

go test ./... and golangci-lint run are clean. Built the packages with goreleaser, generated a signed apt repository from them, and ran apt update and apt install against it in an isolated apt root: the signature verified and the package resolved.

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
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>
@lexfrei
lexfrei merged commit cf0a680 into master Sep 19, 2026
7 checks passed
@lexfrei
lexfrei deleted the feat/deb-packages branch September 19, 2026 16:37
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.

1 participant