mirror of
https://github.com/go-gitea/gitea
synced 2025-01-25 17:14:32 +00: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.