Skip to content

Commit 23229a0

Browse files
committed
build: pass alpha version
1 parent be3d498 commit 23229a0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: scripts/release.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
set -e
22
echo "Current version:" $(grep version package.json | sed -E 's/^.*"([0-9][^"]+)".*$/\1/')
3-
echo "Enter version e.g., 1.0.2: "
4-
read VERSION
3+
# echo "Enter version e.g., 1.0.2: "
4+
echo "Enter alpha version e.g., 2 will generate 3.0.0-alpha.2: "
5+
read ALPHA_VERSION
56

7+
VERSION="3.0.0-alpha.$ALPHA_VERSION"
68

79
read -p "Releasing v$VERSION - are you sure? (y/n)" -n 1 -r
810
echo # (optional) move to a new line

0 commit comments

Comments
 (0)