30 lines
801 B
JSON
30 lines
801 B
JSON
{
|
|
"git": {
|
|
"commitMessage": "chore(release): v${version}",
|
|
"tagName": "v${version}",
|
|
"requireCleanWorkingDir": true
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
},
|
|
"hooks": {
|
|
"before:bump": "node ./scripts/build-zip.js ${version}",
|
|
"after:release": "node ./scripts/create-gitea-release.js ${version}"
|
|
},
|
|
"github": false,
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "conventionalcommits",
|
|
"infile": "CHANGELOG.md",
|
|
"config": ".versionrc.json",
|
|
"changelogCommand": "conventional-changelog -p conventionalcommits -r 1"
|
|
}
|
|
},
|
|
"gitea": {
|
|
"host": "https://${GITEA_URL}",
|
|
"tokenRef": "GITEA_TOKEN"
|
|
},
|
|
|
|
"files": ["package.json"]
|
|
}
|