diff --git a/.versionrc.js b/.versionrc.js new file mode 100644 index 000000000..52b1b4143 --- /dev/null +++ b/.versionrc.js @@ -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] +} diff --git a/.versionrc.json b/.versionrc.json deleted file mode 100644 index 3482e1c2d..000000000 --- a/.versionrc.json +++ /dev/null @@ -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" - } - ] -} diff --git a/packaging/debian-multiarch/sogo.docs b/packaging/debian-multiarch/sogo.docs index 7b14a1f52..fe0d39508 100644 --- a/packaging/debian-multiarch/sogo.docs +++ b/packaging/debian-multiarch/sogo.docs @@ -1,5 +1,4 @@ CHANGELOG.md -Scripts/*.js Scripts/*.sh Scripts/updates.php Apache/SOGo-apple-ab.conf diff --git a/packaging/debian/sogo.docs b/packaging/debian/sogo.docs index 7b14a1f52..fe0d39508 100644 --- a/packaging/debian/sogo.docs +++ b/packaging/debian/sogo.docs @@ -1,5 +1,4 @@ CHANGELOG.md -Scripts/*.js Scripts/*.sh Scripts/updates.php Apache/SOGo-apple-ab.conf