diff options
author | 마누엘 <nalla@hamal.uberspace.de> | 2016-07-28 04:45:35 +0200 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2016-07-28 10:45:35 +0800 |
commit | 36a63dd05913af4994e43bf6d66fd73b7d8e41ea (patch) | |
tree | abc8f10df5a24922280530da65f39f18e9f28037 /.github | |
parent | 03ba257ad2e52a30e198deee4bfcd5e5d0fa9258 (diff) | |
download | gitea-36a63dd05913af4994e43bf6d66fd73b7d8e41ea.tar.gz gitea-36a63dd05913af4994e43bf6d66fd73b7d8e41ea.zip |
models/release: Update Sha1 if tag already exists (#3331)
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.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions