new release-it setup

This commit is contained in:
Matthias Kretschmann 2019-06-10 02:04:17 +02:00
parent a535e359c1
commit bbb5f19f94
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 18 additions and 4 deletions

View File

@ -1,5 +1,19 @@
{
"beforeChangelogCommand": "./node_modules/.bin/conventional-changelog -i CHANGELOG.md -s",
"changelogCommand": "./node_modules/.bin/conventional-changelog | tail -n +3",
"safeBump": false
"safeBump": false,
"scripts": {
"beforeStart": "npm test",
"beforeStage": "npm run changelog",
"afterRelease": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true
}
}

View File

@ -105,8 +105,8 @@ npm run build
# publishing to npm & GitHub releases
# uses https://github.com/webpro/release-it
npm run release
npm run release-minor
npm run release-major
npm run release minor
npm run release major
```
## Changelog

View File

@ -27,7 +27,7 @@
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.8.1",
"release-it": "^10.0.0"
"release-it": "^12.3.0"
},
"homepage": "https://github.com/kremalicious/gatsby-plugin-matomo",
"keywords": [