Skip to content

Commit 6c0c0ba

Browse files
committed
Update finish stable release script to leave tag pruning to a local command
1 parent 2441c01 commit 6c0c0ba

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scripts/finish-stable-release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ NUM_TAGS=$(git tag | grep -e "${PATTERN}" | grep -ve "^react-router@" | wc -l |
6363
TAGS_LINE=$(git tag | grep -e "${PATTERN}" | grep -ve "^react-router@" | tr '\n' ' ')
6464

6565
echo "Found ${NUM_TAGS} tags to delete: ${TAGS_LINE}"
66-
git push origin --delete ${TAGS_LINE}
67-
echo "Pruning local tags"
68-
git fetch --prune --prune-tags
66+
67+
echo "To delete, run the following commands:"
68+
echo ""
69+
echo "git push origin --delete ${TAGS_LINE}"
70+
echo "git fetch --prune --prune-tags"
6971

7072
set +e
7173
set +x

0 commit comments

Comments
 (0)