go-semantic-release / semantic-release

📦🚀 semantic-release written in Go
https://go-semantic-release.xyz
MIT License
395 stars 43 forks source link

Question: how to retrigger a failed build, after the tag has been pushed? #173

Open jamietanna opened 6 months ago

jamietanna commented 6 months ago

I've had a few cases recently where the release build has failed - for various reasons - and I'm therefore in a state where:

Example failed release https://gitlab.com/tanna.dev/dependency-management-data/-/jobs/6124759592

Example GitLab release https://gitlab.com/tanna.dev/dependency-management-data/-/releases/v0.81.0


Is there any way to retrigger the release process for go-semantic-release to perform the Goreleaser release for that specific tag?

christophwitzko commented 6 months ago

If this happens I use one of the following two solutions:

  1. Create and push an empty commit to trigger a new CI run/build/release (git commit -m 'fix: trigger release' --allow-empty)
  2. Delete the git tag (git push origin :refs/tags/v1.2.0) and rerun the CI job.