Skip to content

Commit

Permalink
chore: rename npm script prepublishOnly.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulivz committed Jun 8, 2018
1 parent 9d42057 commit 14d9013
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dev": "node bin/vuepress dev docs",
"build": "node bin/vuepress build docs",
"lint": "eslint --fix --ext .js,.vue bin/ lib/ test/",
"prepublishOnly": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s",
"changelog": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s",
"release": "/bin/bash scripts/release.sh",
"test": "node test/prepare.js && jest --config test/jest.config.js"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ select VERSION in patch minor major "Specific Version"
echo Releasing ${NEW_VERSION} ...

# github release
npm run prepublishOnly
npm run changelog
git add CHANGELOG.md
git commit -m "chore: changelog"
git push
Expand Down

0 comments on commit 14d9013

Please sign in to comment.