Skip to content

Commit 0410894

Browse files
chore: update release name
1 parent 7f01f2d commit 0410894

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scripts/release.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ echo "Current version: "$(grep version package.json | sed -E 's/^.*"(4[^"]+)".*$
33
echo "Enter release version: "
44
read 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
77
if [[ $REPLY =~ ^[Yy]$ ]]
88
then
9-
echo "Releasing 4070-$VERSION ..."
9+
echo "Releasing v$VERSION ..."
1010
npm run lint
1111

1212
npm run build
@@ -21,10 +21,10 @@ then
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
3030
fi

0 commit comments

Comments
 (0)