From 142bfdfcace7a8838ff0a3fab73898d9d9d61133 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 8 Mar 2021 14:39:41 +0100 Subject: [PATCH] build: keep normal version for the moment --- scripts/release.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 76cfb8ed..4078c3b3 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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 -- 2.47.3