Skip to content

Commit 14d9013

Browse files
committed
chore: rename npm script prepublishOnly.
1 parent 9d42057 commit 14d9013

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"dev": "node bin/vuepress dev docs",
1111
"build": "node bin/vuepress build docs",
1212
"lint": "eslint --fix --ext .js,.vue bin/ lib/ test/",
13-
"prepublishOnly": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s",
13+
"changelog": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s",
1414
"release": "/bin/bash scripts/release.sh",
1515
"test": "node test/prepare.js && jest --config test/jest.config.js"
1616
},

scripts/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ select VERSION in patch minor major "Specific Version"
2828
echo Releasing ${NEW_VERSION} ...
2929

3030
# github release
31-
npm run prepublishOnly
31+
npm run changelog
3232
git add CHANGELOG.md
3333
git commit -m "chore: changelog"
3434
git push

0 commit comments

Comments
 (0)