ci(releases): added in release it to add to the build process
This commit is contained in:
24
release-it.json
Normal file
24
release-it.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"git": {
|
||||
"commitMessage": "chore(release): v${version}",
|
||||
"tagName": "v${version}",
|
||||
"requireCleanWorkingDir": true
|
||||
},
|
||||
"npm": false,
|
||||
"hooks": {
|
||||
"after:bump": "echo Version bumped to ${version}",
|
||||
"after:release": "curl -X POST -H \"Authorization: token ${GITEA_TOKEN}\" -F name=release-${version}.zip -F attachment=@releases/release-${version}.zip https://${GITEA_URL}/api/v1/repos/${GITEA_USERNAME}/${GITEA_REPO}/releases/assets?tag=v${version}"
|
||||
},
|
||||
"github": false,
|
||||
"plugins": {
|
||||
"@release-it/conventional-changelog": {
|
||||
"preset": "conventionalcommits",
|
||||
"infile": "CHANGELOG.md",
|
||||
"config": ".versionrc.json"
|
||||
}
|
||||
},
|
||||
"gitea": {
|
||||
"host": "https://${GITEA_URL}",
|
||||
"tokenRef": "GITEA_TOKEN"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user