We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9e14d6 commit 80d4c14Copy full SHA for 80d4c14
1 file changed
.github/workflows/release-engine.yml
@@ -36,6 +36,11 @@ jobs:
36
# Strip "engine/" prefix so goreleaser sees a clean semver tag
37
TAG="${GITHUB_REF#refs/tags/engine/}"
38
echo "GORELEASER_CURRENT_TAG=${TAG}" >> "$GITHUB_ENV"
39
+ # Create a local tag alias so goreleaser can validate the tag against
40
+ # the current commit. Goreleaser reads tags but never pushes them, so
41
+ # this won't pollute the remote. The namespaced tag (engine/vX.Y.Z) is
42
+ # what triggered this workflow; goreleaser needs the plain vX.Y.Z form.
43
+ git tag "${TAG}"
44
45
- name: Run goreleaser
46
uses: goreleaser/goreleaser-action@v6
0 commit comments