chore: configuration file and script for versioning

pull/230/merge
Francis Lachapelle 2021-03-26 09:51:55 -04:00
parent bbf0ff79e8
commit 3693033922
4 changed files with 27 additions and 28 deletions

27
.versionrc.js 100644
View File

@ -0,0 +1,27 @@
const tracker = {
filename: "Version",
updater: require("./Scripts/standard-version-updater.js")
}
module.exports = {
tagPrefix: "SOGo-",
issueUrlFormat: "https://sogo.nu/bugs/view.php?id={{id}}",
compareUrlFormat: "{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}",
types: [
{type: "feat", section: "Features"},
{type: "refactor", section: "Enhancements"},
{type: "perf", section: "Enhancements"},
{type: "i18n", section: "Localization"},
{type: "fix", section: "Bug Fixes"},
{type: "chore", hidden: true},
{type: "docs", hidden: true},
{type: "style", hidden: true},
{type: "test", hidden: true}
],
skip: {
commit: true,
tag: true
},
packageFiles: [tracker],
bumpFiles: [tracker]
}

View File

@ -1,26 +0,0 @@
{
"tag-prefix": "SOGo-",
"issueUrlFormat": "https://sogo.nu/bugs/view.php?id={{id}}",
"compareUrlFormat": "{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}",
"types": [
{"type": "feat", "section": "Features"},
{"type": "refactor", "section": "Enhancements"},
{"type": "perf", "section": "Enhancements"},
{"type": "i18n", "section": "Localization"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "chore", "hidden": true},
{"type": "docs", "hidden": true},
{"type": "style", "hidden": true},
{"type": "test", "hidden": true}
],
"skip": {
"commit": true,
"tag": true
},
"bumpFiles": [
{
"filename": "Version",
"updater": "Scripts/standard-version-updater.js"
}
]
}

View File

@ -1,5 +1,4 @@
CHANGELOG.md
Scripts/*.js
Scripts/*.sh
Scripts/updates.php
Apache/SOGo-apple-ab.conf

View File

@ -1,5 +1,4 @@
CHANGELOG.md
Scripts/*.js
Scripts/*.sh
Scripts/updates.php
Apache/SOGo-apple-ab.conf