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 9d42057 commit c7c0cd9Copy full SHA for c7c0cd9
scripts/release.sh
@@ -27,17 +27,16 @@ select VERSION in patch minor major "Specific Version"
27
NEW_VERSION=$(node -p "require('./package.json').version")
28
echo Releasing ${NEW_VERSION} ...
29
30
+ # npm release
31
+ npm publish
32
+ echo "✅ released to npm"
33
+
34
# github release
- npm run prepublishOnly
35
git add CHANGELOG.md
36
git commit -m "chore: changelog"
37
git push
38
git push origin refs/tags/v${NEW_VERSION}
39
echo "✅ released to Github"
-
- # npm release
- npm publish
40
- echo "✅ released to npm"
41
else
42
echo Cancelled
43
fi
0 commit comments