.release-it.json
{
"hooks": {
"before:init": ["npm install", "npm run test"],
"after:bump": "npm run build",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"git": {
"changelog": "git log --pretty=format:\"* %s (%h)\" ${latestTag}...HEAD",
"requireCleanWorkingDir": true,
"requireUpstream": true,
"requireCommits": false,
"addUntrackedFiles": false,
"commit": true,
"commitMessage": "Release ${version}",
"commitArgs": "",
"tag": true,
"tagName": "${version}",
"tagAnnotation": "Release ${version}",
"tagArgs": "",
"push": true,
"pushArgs": "--follow-tags",
"pushRepo": "origin"
},
"npm": {
"publish": false,
"publishPath": ".",
"access": null,
"otp": null
},
"github": {
"release": true,
"releaseName": "Release v${version}",
"releaseNotes": null,
"preRelease": false,
"draft": false,
"tokenRef": "GITHUB_TOKEN",
"assets": null,
"host": null,
"timeout": 0,
"proxy": null
},
"gitlab": {
"release": false,
"releaseName": "Release ${version}",
"releaseNotes": null,
"tokenRef": "GITLAB_TOKEN",
"assets": null,
"origin": null
}
}