Skip to content

Commit

Permalink
chore: use release-it for automated release (react-navigation#5115)
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 authored and brentvatne committed Oct 15, 2018
1 parent d34f883 commit 5acc07b
Show file tree
Hide file tree
Showing 3 changed files with 1,713 additions and 208 deletions.
15 changes: 15 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"increment": "conventional:angular",
"changelogCommand": "conventional-changelog -p angular | tail -n +3",
"safeBump": false,
"src": {
"commitMessage": "chore: release %s",
"tagName": "v%s"
},
"npm": {
"publish": true
},
"github": {
"release": true
}
}
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@
"test-update-snapshot": "jest --updateSnapshot",
"lint": "eslint .",
"format": "eslint --fix .",
"precommit": "lint-staged"
"precommit": "lint-staged",
"release": "release-it"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"files": [
"src",
Expand All @@ -43,6 +47,7 @@
"babel-jest": "^22.4.1",
"babel-preset-react-native": "^2.1.0",
"codecov": "^2.2.0",
"conventional-changelog-cli": "^2.0.5",
"eslint": "^4.2.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-import": "^2.7.0",
Expand All @@ -58,7 +63,8 @@
"react": "16.2.0",
"react-native": "^0.52.0",
"react-native-vector-icons": "^4.2.0",
"react-test-renderer": "^16.0.0"
"react-test-renderer": "^16.0.0",
"release-it": "^7.6.1"
},
"jest": {
"notify": true,
Expand Down
Loading

0 comments on commit 5acc07b

Please sign in to comment.