Skip to content

Commit

Permalink
tooling: release with correct version
Browse files Browse the repository at this point in the history
  • Loading branch information
benyap committed Jan 25, 2022
1 parent 6ee6ee3 commit 7041503
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .release-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ module.exports = {
commit: true,
commitMessage: "chore(release): release ${version}",
},
hooks: {
"before:init": ["yarn lint"],
"after:bump": ["yarn build", "yarn make"],
},
plugins: {
"@release-it/bumper": {
in: "package.json",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"make": "rimraf dist/* && yarn make:mac && yarn make:win",
"make:mac": "electron-builder build --mac --x64",
"make:win": "electron-builder build --win --x64",
"release": "yarn format && yarn lint && yarn build && yarn make && env-cmd release-it"
"release": "env-cmd release-it"
},
"dependencies": {
"@headlessui/react": "1.4.3",
Expand Down

0 comments on commit 7041503

Please sign in to comment.