Skip to content

Commit 1590c9d

Browse files
author
Oscar Franco
committed
Fix bump version script to include PACKAGE_VERSION variable
1 parent 66241a9 commit 1590c9d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bump-version.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ git add .
88

99
git commit -m "Bump version"
1010

11+
PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')
12+
1113
git tag $PACKAGE_VERSION
1214

1315
git push

0 commit comments

Comments
 (0)