Skip to content

Add GoReleaser v2 with MCP registry publishing - #302

Merged
foxish merged 9 commits into
mainfrom
goreleaser-update-2
Feb 27, 2026
Merged

foxish merged 9 commits into
mainfrom
goreleaser-update-2

Conversation

@foxish

@foxish foxish commented Feb 27, 2026 •

Copy link
Copy Markdown
Member

Adds MCP registry publishing and fixes GoReleaser v2 config issues.

Changes

MCP registry publishing

GoReleaser v2 config fixes

  • `archives.builds` → `archives.ids` (renamed field)
  • `brews` → `homebrew_casks` (deprecated; `install` replaced by `binaries`, scoped to main archive via `ids`)
  • Fixed `folder` → `directory` in homebrew config
  • Removed unsupported `args` and `environment_variables` fields from `mcp.packages.transport`
  • Added project-level `SIGNADOT_IMAGE_SUFFIX` default so goreleaser works locally without the env var set (CI sets it explicitly to `''`)

Not changed

  • `dockers`/`docker_manifests` — left as-is (deprecated but stable; migration to `dockers_v2` is experimental and not worth the risk)

foxish and others added 7 commits February 27, 2026 08:31
- Upgrade to goreleaser v2 (action@v6, ~> v2) with required syntax fixes
  (version: 2, snapshot.version_template, brews.repository)
- Add signadot-cli_mcp archive for MCP registry distribution
- Add mcp: section to publish to registry.modelcontextprotocol.io on tags
- Update GO_VERSION to 1.25 to match go.mod

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- archives.builds → archives.ids
- brews → homebrew_casks (install via binaries field)
- dockers + docker_manifests → dockers_v2 (multi-arch single entry)
- Fix mcp transport: remove unsupported args/environment_variables fields
- Fix homebrew: folder → directory

Note: arch-specific image tags (:latest-amd64, :v*-arm64v8, etc.) are
no longer published; only multi-arch manifests (:latest, :v*) remain.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Without ids, the cask picked up both the signadot and signadot-cli-mcp
archives, causing a conflict on duplicate OS/Arch combinations.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
The signadot-cli-mcp archive was redundant — the MCP registry entry
now points to the main signadot-cli_<os>_<arch>.tar.gz artifact.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
dockers_v2 is experimental and caused issues. Restoring the proven
dockers + docker_manifests setup exactly as it was before.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Prevents template errors when running goreleaser locally without
the env var set (CI always sets it explicitly to '').

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@daniel-de-vera

Copy link
Copy Markdown
Contributor

@foxish, could you test this? or what's your idea?

Comment thread goreleaser.yaml
- id: signadot
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"
ids:
- signadot

@davixcky davixcky Feb 27, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why are we adding mcp to the binary name?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Otherwise the MCP registry does not accept it unfortunately.

@foxish

foxish commented Feb 27, 2026

Copy link
Copy Markdown
Member Author

@foxish, could you test this? or what's your idea?

I was able to test it using goreleaser release --snapshot --skip=publish --clean but I will know only after I push a tag whether the new MCP thing works.

Comment thread goreleaser.yaml Outdated
source: github
packages:
- registry_type: mcpb
identifier: "https://github.com/signadot/cli/releases/download/v{{ .Version }}/signadot-cli_mcp_{{ .Os }}_{{ .Arch }}.tar.gz"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Use the same template from before, so it follow the variable replace too

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

name_template: "{{ .ProjectName }}{{ .Os }}{{ .Arch }}"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed, PTAL

@foxish

foxish commented Feb 27, 2026

Copy link
Copy Markdown
Member Author

Also fixed install.sh in ae5f658

@davixcky davixcky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@daniel-de-vera

Copy link
Copy Markdown
Contributor

Also fixed install.sh in ae5f658

That won't work for older version of the CLI, right?

@foxish
foxish merged commit dbea37c into main Feb 27, 2026
@foxish
foxish deleted the goreleaser-update-2 branch February 27, 2026 19:29
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.

3 participants