Last active
July 19, 2022 07:32
-
-
Save mu88/65466df3e7c213f133ce6564c2d1f2b1 to your computer and use it in GitHub Desktop.
Delete several tags from Git repo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Line 18:
if (!($tag.Contains($releaseName))) {
should beif (!($tag.EndsWith($releaseName))) {
otherwise when deleting Tags for release 2022-B-Gandalf the tags for 2022-B-Gandalf-Hotfix1 are also deleted.