File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ echo "Current version: "$(grep version package.json | sed -E 's/^.*"(4[^"]+)".*$
33echo " Enter release version: "
44read VERSION
55
6- read -p " Releasing 4070- $VERSION - are you sure? (y/n)" -n 1 -r
6+ read -p " Releasing v $VERSION - are you sure? (y/n)" -n 1 -r
77if [[ $REPLY =~ ^[Yy]$ ]]
88then
9- echo " Releasing 4070- $VERSION ..."
9+ echo " Releasing v $VERSION ..."
1010 npm run lint
1111
1212 npm run build
2121
2222 # COMMIT AND TAG
2323 git add CHANGELOG.md package.json
24- git commit -m " chore(release): 4070- $VERSION "
25- git tag -a " 4070- $VERSION " -m " 4070- $VERSION "
24+ git commit -m " chore(release): v $VERSION "
25+ git tag -a " v $VERSION " -m " v $VERSION "
2626
2727 # PUBLISH
28- git push origin refs/tags/4070- $VERSION
28+ git push origin refs/tags/v $VERSION
2929 git push
3030fi
You can’t perform that action at this time.
0 commit comments