Skip to content

Commit 5bd4c46

Browse files
committed
✨ Change script
1 parent 2b0aff3 commit 5bd4c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/npm-publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ if [[ $REPLY =~ ^[Yy]$ ]]
77
then
88
npm version patch
99
echo "Releasing version:" $(grep version ../package.json | sed -E 's/^.*"([0-9][^"]+)".*$/\1/')
10-
git push origin v(grep version ../package.json)
10+
git push origin v$(grep version ../package.json | sed -E 's/^.*"([0-9][^"]+)".*$/\1/')
1111
fi

0 commit comments

Comments
 (0)