Commit 62d06c0
committed
fix(cd): allow GoReleaser to auto-detect monorepo tags and skip semver validation
GoReleaser was failing with 'git tag v0.2.0 was not made against commit...' because:
- The workflow was overriding GORELEASER_CURRENT_TAG with just the version (v0.2.0)
- But the actual git tag created by release-please is the full monorepo format (protoc-gen-elixir-grpc@v0.2.0)
Solution:
- Remove GORELEASER_CURRENT_TAG override to let GoReleaser auto-detect the full tag name
- Add --skip=validate flag to bypass semver parsing (since the tag format includes component prefix)
GoReleaser correctly auto-detects the full tag and proceeds with the release when validation is skipped.1 parent 46a7854 commit 62d06c0
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
| |||
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | | - | |
| 137 | + | |
139 | 138 | | |
140 | 139 | | |
141 | | - | |
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
| |||
0 commit comments