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 a775fb1 commit 4d5520cCopy full SHA for 4d5520c
scripts/release.sh
@@ -8,12 +8,14 @@ if [[ $REPLY =~ ^[Yy]$ ]]
8
then
9
echo "Releasing $VERSION ..."
10
npm test
11
- VERSION=$VERSION npm run build
12
13
# commit
+ npm version $VERSION --message "chore(release): %s"
14
+ VERSION=$VERSION npm run build
15
git add dist
- git commit -m "chore(build): $VERSION"
16
- npm version $VERSION --message "chore(release): $VERSION"
+ git commit --amend --no-edit # merge with previous commit
17
+
18
+ read OKAY
19
20
# publish
21
git push origin refs/tags/v$VERSION
0 commit comments