You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The web UI does not allow deleting tags that are associated with an existing release. However, it can be done via the git client. Doing so turns the release into a draft release. Pushing the tag again does not fix the release.
Steps to reproduce
Create a repository with some content and clone it locally
Add a tag: git tag test
Push the tag: git push origin test
Create a release for the tag
Delete the tag on the server: git push origin --delete test
Observe that the release is now a "draft"
Push the tag again: git push origin test
Observer that the release is still a "draft"
Observations
When pushing the tag a second time, the following message is logged:
I can't provide more detailed logs at the moment. I can set up a test environment, though, if necessary.
This is a regression. We upgraded from 1.21.x, which did not show this behaviour. Unfortunately, I did not make note which exact version we used before.
Use case
I realise deleting are re-creating tags from the command line seems like an odd thing to do. We do it as part of a nightly build pipe line, which builds binaries and attaches them to a moving tag and release named latest.
Gitea Version
1.22.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.39.2
Operating System
Debian GNU/Linux
How are you running Gitea?
Official release binary, started via systemd
Database
PostgreSQL
The text was updated successfully, but these errors were encountered:
Description
The web UI does not allow deleting tags that are associated with an existing release. However, it can be done via the git client. Doing so turns the release into a draft release. Pushing the tag again does not fix the release.
Steps to reproduce
git tag test
git push origin test
git push origin --delete test
git push origin test
Observations
When pushing the tag a second time, the following message is logged:
I can't provide more detailed logs at the moment. I can set up a test environment, though, if necessary.
This is a regression. We upgraded from 1.21.x, which did not show this behaviour. Unfortunately, I did not make note which exact version we used before.
Use case
I realise deleting are re-creating tags from the command line seems like an odd thing to do. We do it as part of a nightly build pipe line, which builds binaries and attaches them to a moving tag and release named
latest
.Gitea Version
1.22.3
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
2.39.2
Operating System
Debian GNU/Linux
How are you running Gitea?
Official release binary, started via systemd
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: