Releases are automated by GoReleaser in GitHub Actions. Pushing a version tag starts the release workflow; do not run GoReleaser or create the GitHub release manually.
-
Ensure the commit to release is on the intended branch and all required CI checks have passed.
-
Create an annotated semantic version tag, for example:
git tag -a v1.2.3 -m "v1.2.3"Use a prerelease suffix such as
v1.2.3-rc.1for prereleases. -
Push only the new tag:
git push origin v1.2.3
The tag push triggers the Release workflow. It runs GoReleaser, which creates
the GitHub release and publishes the configured artifacts and package updates.
Watch the workflow to completion and verify the resulting GitHub release.
Investigate and fix the workflow failure before retrying. Do not move or reuse a published version tag; create a new version tag for a corrected release.