We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea5c215 commit 5cd7c58Copy full SHA for 5cd7c58
bin/retagMajorVersion.sh
@@ -2,10 +2,11 @@
2
3
set -e
4
5
+VERSION=$(node -e "console.log('v' + require('./package.json').version)")
6
MAJOR_VERSION=$(node -e "console.log('v' + require('./package.json').version.split('.')[0])")
7
-echo "Retagging ${MAJOR_VERSION}"
8
+echo "Retagging ${MAJOR_VERSION} to ${VERSION}"
9
git tag -d ${MAJOR_VERSION} && \
10
git push --delete origin ${MAJOR_VERSION} && \
- git tag -a ${MAJOR_VERSION} -m ${NEXT_VERSION} && \
11
+ git tag -a ${MAJOR_VERSION} -m ${VERSION} && \
12
git push --follow-tags
0 commit comments