We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b0aff3 commit 5bd4c46Copy full SHA for 5bd4c46
script/npm-publish.sh
@@ -7,5 +7,5 @@ if [[ $REPLY =~ ^[Yy]$ ]]
7
then
8
npm version patch
9
echo "Releasing version:" $(grep version ../package.json | sed -E 's/^.*"([0-9][^"]+)".*$/\1/')
10
- git push origin v(grep version ../package.json)
+ git push origin v$(grep version ../package.json | sed -E 's/^.*"([0-9][^"]+)".*$/\1/')
11
fi
0 commit comments