30 lines
733 B
JSON
30 lines
733 B
JSON
{
|
|
"hooks": {
|
|
"before:bump": [
|
|
"./release/check-for-breaking-changes.sh ${latestVersion} ${version}",
|
|
"npm update swagger-client",
|
|
"npm update swagger-ui",
|
|
"npm test"
|
|
],
|
|
"after:bump": ["npm run build"],
|
|
"after:release": "export GIT_TAG=v${version} && echo GIT_TAG=v${version} > release/.version"
|
|
},
|
|
"git": {
|
|
"requireUpstream": false,
|
|
"changelog": "./release/get-changelog.sh",
|
|
"commitMessage": "release: v${version}",
|
|
"tagName": "v${version}",
|
|
"push": false
|
|
},
|
|
"github": {
|
|
"release": true,
|
|
"releaseName": "Swagger Editor %s Released!",
|
|
"draft": true
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "angular"
|
|
}
|
|
}
|
|
}
|