-
I'm running into an issue where if a specific commit is tagged more than once, I can't see a way to force goreleaser to use the latest tag for the release - instead, it re-releases on the first tag. It may be esoteric, but there are a couple of ways I've had this happen:
It would be great if there's a way to address this automatically (ie. get the most recent tag), but if not, perhaps there could be a way to tell goreleaser to use a specific tag? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
you can set GORELEASER_CURRENT_TAG: https://goreleaser.com/customization/build#define-build-tag doesn't that work? |
Beta Was this translation helpful? Give feedback.
-
Ah! Thank you. I hadn't seen that. I'll give it a try. Closing this. |
Beta Was this translation helpful? Give feedback.
you can set GORELEASER_CURRENT_TAG: https://goreleaser.com/customization/build#define-build-tag
doesn't that work?