mislav / hub

A command-line tool that makes git easier to use with GitHub.

Home Page:https://hub.github.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deleting a tag not possible?

kroese opened this issue · comments

commented

I can create a release, and delete a release. But it will not delete the tag, so when I create the release again it will use the old tag with the same name instead of creating a fresh one at the current point.

I can instead also edit a release, but it also does not re-create the tag. And hub neither does not support deleting the tag manually.

So it seems what I want to do (delete a release+tag and re-create the release+tag with the same names) is impossible?

EDIT: I found out that Github CLI can do this very easily via: gh release delete <tag> --cleanup-tag