Removing git tags before publishing

How we can remove npm/git tags before publishing:-

git tag -d tagName
git push origin :refs/tags/tagName

Example:-

➜ git:(master) ✗ npm version patch
v19.3.2
➜ git:(master) git tag -d v19.3.2
Deleted tag ‘v19.3.2’ (was 7d16814)

ufthelp

Leave a Reply

Your email address will not be published. Required fields are marked *