Closed
Description
Description
If you recreate a Tag on a new Commit, the Release will not be updated.
Steps to reproduce:
- Create a new Repo
- Create a new Release with a Tag called "Test"
- Clone the Repo
- Run these commands:
git tag -d Test
git commit --allow-empty -m "New Commit"
git tag Test
git push
git push -f --tags
If you visit the Release Page, it shows
1 commits to main since this release
But this is not true. The Tag has now changed to the latest Commit.
I expect Gitea to do one of these 2 Options:
- Just Update the Release
- Do the same as if the Tag was deleted
Gitea Version
1.20.1
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
Not relevant to reproduce
Screenshots
No response
Git Version
2.41.0
Operating System
Manjaro
How are you running Gitea?
Binary downloaded from GitHub
Database
SQLite