Skip to content

fix: use semver-compatible tag for GoReleaser in monorepo#63

Merged
rianjs merged 1 commit intomainfrom
fix/goreleaser-version-workaround
Feb 2, 2026
Merged

fix: use semver-compatible tag for GoReleaser in monorepo#63
rianjs merged 1 commit intomainfrom
fix/goreleaser-version-workaround

Conversation

@rianjs
Copy link
Copy Markdown
Contributor

@rianjs rianjs commented Feb 2, 2026

GoReleaser can't parse prefixed tags like cfl-v0.9.100 as semver. This works around the limitation by setting GORELEASER_CURRENT_TAG to v{version} instead of the full prefixed tag.

GoReleaser can't parse prefixed tags like cfl-v0.9.100 as semver.
Work around this by:
1. Removing the monorepo config (requires GoReleaser Pro)
2. Setting GORELEASER_CURRENT_TAG to v{version} instead of the full tag

The release workflow still triggers on prefixed tags (cfl-v*, jtk-v*)
but GoReleaser sees a simple semver tag for version parsing.
@rianjs rianjs merged commit 6b14cfd into main Feb 2, 2026
@rianjs rianjs deleted the fix/goreleaser-version-workaround branch February 2, 2026 15:38
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