Skip to content

Commit 233cdd9

Browse files
committed
chore: tweak release script
1 parent 0b05d3c commit 233cdd9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

build/release.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
#!/bin/bash
22
set -e
33
read -p "Enter release version: " VERSION
4-
read -p "Enter release tag (latest): " TAG
54

6-
TAG=${TAG:-latest}
7-
8-
read -p "Releasing $VERSION for the tag '$TAG' - are you sure? (y/n)" -n 1 -r
5+
read -p "Releasing $VERSION - are you sure? (y/n)" -n 1 -r
96
echo # (optional) move to a new line
107
if [[ $REPLY =~ ^[Yy]$ ]]
118
then
@@ -22,5 +19,5 @@ then
2219
# publish
2320
git push origin refs/tags/v$VERSION
2421
git push
25-
npm publish --tag $TAG
22+
npm publish --tag next
2623
fi

0 commit comments

Comments
 (0)