When Jenkins is configured with 'Check out to matching local branch' the branch and tag name will conflict. If we use explicit references to tags, then life is much better. This patch also replaces our manual 'tag or not' boolean with a regex to check if the return is a SHA1. If it is not a SHA1, it is assumed to be a tag. Hopefully this helps with future maintainability.
GoReleaser
Deliver Go binaries as fast and easily as possible.
GoReleaser builds Go binaries for several platforms, creates a GitHub release and then pushes a Homebrew formula to a tap repository. All that wrapped in your favorite CI.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. We appreciate your contribution. Please refer to our contributing guidelines for further information.
For questions join the #goreleaser channel in the Gophers Slack.
Documentation
Documentation is hosted live at https://goreleaser.com
Badges
Sponsors
Does your company use goreleaser? Help keep the project bug-free and feature rich by sponsoring the project.
Backers
Love our work and community? Become a backer.
Contributors
This project exists thanks to all the people who contribute. [Contribute].
Stargazers over time
Would you like to fix something in the documentation? Feel free to open an issue.