add --delete-tag to tea release delete
#256
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#256
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Creating a release creates a tag, but when I delete that release with
tea release delete -r tagname
the tag "tagname" is still there (but the files of the release are deleted as expected). How can I delete that tag with
tea
?Note, that deleting the release in the gitea web frontend does delete the tag as well.
Tags are a git feature, and
tea
can't tell if a tag was already present or created bytea release create
, so it doesnt delete it.To remove the tag, just use git:
Thank you noerw, this helps me to understand why it is not possible.
Unfortunately, I using
tea
in a git hook, hence I cannot push easily.I can use curl to execute https://try.gitea.io/api/swagger#/repository/repoDeleteReleaseTag but using tea for this would be way more convenient. I was seeking an option like "--delete-tag" when deleting a release.
deleting a release does not delete the tagto add --delete-tag to `tea release delete`