Skip to content

Commit

Permalink
chore(release-it): add extra release steps to avoid dodgy releases
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Jun 23, 2021
1 parent 79842a1 commit 05e2d7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@
"github": {
"release": true
},
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"after:bump": "npm run build",
"before:init": ["git pull origin master","yarn lint", "yarn test"],
"after:bump": "npm run build && npx auto-changelog -p",
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
Expand Down

0 comments on commit 05e2d7d

Please sign in to comment.