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 be3d498 commit 23229a0Copy full SHA for 23229a0
scripts/release.sh
@@ -1,8 +1,10 @@
1
set -e
2
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
+# echo "Enter version e.g., 1.0.2: "
+echo "Enter alpha version e.g., 2 will generate 3.0.0-alpha.2: "
5
+read ALPHA_VERSION
6
7
+VERSION="3.0.0-alpha.$ALPHA_VERSION"
8
9
read -p "Releasing v$VERSION - are you sure? (y/n)" -n 1 -r
10
echo # (optional) move to a new line
0 commit comments