abcxyz / abc

Apache License 2.0
12 stars 3 forks source link

Properly set current tag when multiple tags exist for same commit #638

Closed pdewilde closed 1 month ago

pdewilde commented 1 month ago

GitHub will return lexigraphically the most recent tag if there are multiple for the same commit, which can break when doing a release after a prerelease (example: https://github.com/abcxyz/abc/actions/runs/10601630744). This hopefully will fix it.

Using feature from https://github.com/goreleaser/goreleaser/pull/1327