Skip to content

Commit 015a5ce

Browse files
committed
build: prepare release
1 parent 184df14 commit 015a5ce

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pinia",
3-
"version": "2.0.0-alpha.1",
3+
"version": "2.0.0-alpha.0",
44
"description": "Some awesome description",
55
"main": "dist/pinia.cjs.js",
66
"browser": "dist/pinia.esm-browser.js",

scripts/release.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
set -e
22
echo "Current version:" $(grep version package.json | sed -E 's/^.*"(4[^"]+)".*$/\1/')
3-
echo "Enter beta version e.g., 2 will generate 4.0.0-beta.2: "
4-
read BETA
3+
echo "Enter alpha version e.g., 2 will generate 2.0.0-alpha.2: "
4+
read ALPHA
55

6-
VERSION="4.0.0-beta.$BETA"
6+
VERSION="2.0.0-alpha.$ALPHA"
77

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

0 commit comments

Comments
 (0)