mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-06 02:40:29 +09:00
36a63dd059
Since the release struct is initialized with the current `HEAD` of the current `release.Target` the commit id has to be updated if the tag commit already exists. Otherwise the linked commit on the release page will target the current `HEAD` at release time.