- Gitea version (or commit ref): 1.12.2
- Git version: 2.14.5
- Operating system: MacOS
- Database (use
[x]):
- Can you reproduce the bug at https://try.gitea.io:
- Log gist:
Description
When I make a release, the created unix time gets set to the time I make the release, no the commit, which is right.
Yet if I now update my release by editing its content, its date changes.
This is a problem if I update an old release, such as tell users not to use, it becomes the release at the top of the release page!
Related to this change: #11218
Basically you should only change the release created_unix if it is making an actual tag (going from Draft to pre-release or release), do not touch it if updating a release or pre-release.
...
Screenshots
On try.gitea.io, making two releases v1, then v2, then edit v1. It now is at the top.


