Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 54a2f1e

Browse files
committed
chore(retag): avoid deleting tags for other branches
1 parent 5acef76 commit 54a2f1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/private/retag.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
# This script is useful only for committers to the upstream github repo.
55
######
66

7-
for tag in `git tag`; do
7+
# List tags starting with `step-` to avoid deleting tags for older branches (e.g. 1.4-step-*).
8+
for tag in `git tag --list step-*`; do
89
git tag -d $tag
910
done
1011

0 commit comments

Comments
 (0)