]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
build: keep normal version for the moment
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 8 Mar 2021 13:39:41 +0000 (14:39 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 8 Mar 2021 14:50:10 +0000 (15:50 +0100)
scripts/release.sh

index 76cfb8ed61b60c21c782139d2b9b3d27205bfaa0..4078c3b3d372108c548f6fdd9a980424ee98cf12 100644 (file)
@@ -1,9 +1,7 @@
 set -e
 echo "Current version:" $(grep version package.json | sed -E 's/^.*"(4[^"]+)".*$/\1/')
-echo "Enter alpha version e.g., 2 will generate 2.0.0-alpha.2: "
-read ALPHA
-
-VERSION="2.0.0-alpha.$ALPHA"
+echo "Enter version e.g., 0.2.0: "
+read VERSION
 
 read -p "Releasing v$VERSION - are you sure? (y/n)" -n 1 -r
 echo    # (optional) move to a new line
@@ -33,7 +31,7 @@ then
   git tag "v$VERSION"
 
   # commit
-  yarn publish --tag next --new-version "$VERSION" --no-commit-hooks --no-git-tag-version
+  yarn publish --new-version "$VERSION" --no-commit-hooks --no-git-tag-version
 
   # publish
   git push origin refs/tags/v$VERSION