mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-08 03:31:59 +02:00
6c79a6c51a
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. |
||
---|---|---|
.. | ||
git_test.go | ||
git.go | ||
mktemp_test.go | ||
mktemp.go | ||
skip_test.go | ||
skip.go |