Skip to content

Commit

Permalink
Update release config
Browse files Browse the repository at this point in the history
  • Loading branch information
mugli committed Aug 13, 2019
1 parent 01f241f commit 413e52d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .release-it.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module.exports = {
hooks: {
'before:release': 'npm run changelog -- -p'
'before:release': 'npx auto-changelog -p'
},
git: {
changelog: 'npm run changelog -- --stdout --commit-limit false --unreleased --template ./changelog-template.hbs',
changelog: 'npx auto-changelog --stdout --commit-limit false --unreleased --template ./changelog-template.hbs',
requireCleanWorkingDir: true,
requireUpstream: true,
requireCommits: true,
Expand All @@ -12,7 +12,7 @@ module.exports = {
commitMessage: 'Release ${version}',
commitArgs: '',
tag: true,
tagName: '${version}',
tagName: 'v${version}',
tagAnnotation: 'Release ${version}',
tagArgs: '',
push: true,
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"upload_coverage": "codecov",
"lint": "eslint .",
"prettier": "prettier --write '**/*.js'",
"changelog": "auto-changelog",
"release:check": "npm run lint && npm test",
"release": "npm run release:check && release-it",
"release:dry": "npm run release:check && release-it --dry-run"
Expand Down

0 comments on commit 413e52d

Please sign in to comment.