Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jamietanna opened this issue Feb 8, 2024 · 1 comment

Comments

@jamietanna
Copy link

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

  • the tag has been pushed
  • the release has been created (in GitLab)
  • but no artifacts are attached to the release

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
Copy link
Member

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.

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

No branches or pull requests

2 participants