Skip to content

Release the .deb and the Homebrew cask with GoReleaser - #4

Merged
Ilyes512 merged 3 commits into
mainfrom
feat/GH-2-goreleaser-release
Sep 13, 2026
Merged

Ilyes512 merged 3 commits into
mainfrom
feat/GH-2-goreleaser-release

Conversation

@Ilyes512

Copy link
Copy Markdown
Member

Summary

  • Add nfpms (deb, amd64 + arm64) and the specsdeployd@rc / specsdeployd Homebrew cask pair to .goreleaser.yml; build darwin alongside linux so the cask has an archive to point at.
  • The deb ships only /usr/bin/specsdeployd — no unit, no sudoers, no config dir, no maintainer scripts. The Ansible role owns those, and dpkg would silently overwrite them on the next upgrade.
  • Add .github/workflows/release.yml: on v* tags, goreleaser-action with contents: write.

Verified against a local snapshot

  • dpkg -c lists the binary and nothing else; dpkg -I shows no maintainer scripts.
  • dpkg -x + specsdeployd version reports the injected version, not dev.
  • checksums.txt covers both debs and all four archives — the role verifies the deb against it via get_url's checksum:.

Refs #2. Tagging v0.1.0 and the on-host install/brew install checks follow after merge.

Add nfpms and homebrew_casks to the GoReleaser config, and build darwin
alongside linux so the cask has something to point at.

The deb carries nothing but /usr/bin/specsdeployd: the Ansible role owns
the user, the sudoers drop-in, /etc/specsdeployd/ and the unit, and dpkg
would silently overwrite them on the next upgrade if the package shipped
them too.
@Ilyes512
Ilyes512 force-pushed the feat/GH-2-goreleaser-release branch from b06485b to 392b6c7 Compare September 13, 2026 18:40
The release workflow floats on '~> v2', so the pin is what makes
release:dry-run reproduce what CI will actually run.
@Ilyes512
Ilyes512 merged commit 712fbd9 into main Sep 13, 2026
1 check passed
@Ilyes512
Ilyes512 deleted the feat/GH-2-goreleaser-release branch September 13, 2026 19:00
@Ilyes512 Ilyes512 linked an issue Sep 13, 2026 that may be closed by this pull request
13 tasks
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.

Release the .deb and the Homebrew cask with GoReleaser, cut v0.1.0

1 participant