Closed
Description
Description
Steps to reproduce:
- In a repository with at least 2 branches one with some changes (in this example: main branch, test branch) create a release 1.0.0@test (1.0.0 tag name, test branch).
- Delete the created release.
- Create a new release with the same tag but in the correct branch 1.0.0@main
Expected behaviour:
The last release and tag should show the changes/commits made on the branch main.
Observed behaviour:
The release show the changes made on the test branch even when the release says is targeting the main branch and shows negative commits like this:
More Info:
the main branch has a empty readme file
the test branch has 2 commits changing the readme file
the tag 1.0.0 show the file with the changes made on test branch
if a click on the "-2 commits" the "Compare commits" screen shows no changes.
Gitea Version
1.18.3 and 1.19.0 (gitea demo)
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Debian Linux and Try.gitea.io
How are you running Gitea?
The issue can be replicated both on my docker installation of giteo and in https://try.gitea.io/
Database
None