Skip to content

Commit

Permalink
Update release hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
astrotars committed Oct 9, 2019
1 parent 2f295eb commit e2de55d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"hooks": {
"before:init": "yarn pre-release",
"after:bump": "yarn mid-release",
"after:release": "yarn post-release"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
"lint": "yarn prettier --write --check --config ./.prettierrc \"**/*.js\" && eslint --fix ./src",
"build": "./build.sh",
"pre-release": "yarn lint",
"post-release": "yarn manifest && yarn readme && git add . && git commit -m 'Updated CLI Manifest and README' && git push origin master",
"mid-release": "yarn manifest && yarn readme",
"post-release": "git add . && git commit -m 'Updated CLI Manifest and README' && git push origin master",
"release": "release-it"
},
"dependencies": {
Expand Down

0 comments on commit e2de55d

Please sign in to comment.