Skip to content

Commit

Permalink
fix: add staged .version file after version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Oct 17, 2020
1 parent a9266eb commit ead9864
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"hooks": {
"before:init": ["npm run format", "npm run lint"],
"after:bump": ["npm run build:binary", "echo v${version} > .version"],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
"after:bump": [
"npm run build:binary",
"echo v${version} > .version && git add .version"
]
},
"git": {
"commitMessage": "chore(release): v${version} :tada:",
Expand Down

0 comments on commit ead9864

Please sign in to comment.