mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-04 21:08:51 +00:00
docs: convert NEWS to CHANGELOG.md
This commit is contained in:
26
.versionrc.json
Normal file
26
.versionrc.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
2293
CHANGELOG.md
Normal file
2293
CHANGELOG.md
Normal file
File diff suppressed because it is too large
Load Diff
10
Scripts/standard-version-updater.js
Normal file
10
Scripts/standard-version-updater.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports.readVersion = function (contents) {
|
||||
console.debug('readVersion = ' + contents.match(/([0-9]+)/mg).join('.'));
|
||||
return contents.match(/([0-9]+)/mg).join('.');
|
||||
};
|
||||
|
||||
module.exports.writeVersion = function (contents, version) {
|
||||
console.debug('writeVersion = ' + version);
|
||||
const versions = version.split('.');
|
||||
return "MAJOR_VERSION=" + versions[0] + "\nMINOR_VERSION=" + versions[1] + "\nSUBMINOR_VERSION=" + versions[2];
|
||||
};
|
||||
@@ -1,4 +1,5 @@
|
||||
NEWS
|
||||
CHANGELOG.md
|
||||
Scripts/*.js
|
||||
Scripts/*.sh
|
||||
Scripts/updates.php
|
||||
Apache/SOGo-apple-ab.conf
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
NEWS
|
||||
CHANGELOG.md
|
||||
Scripts/*.js
|
||||
Scripts/*.sh
|
||||
Scripts/updates.php
|
||||
Apache/SOGo-apple-ab.conf
|
||||
|
||||
@@ -336,7 +336,7 @@ rm -fr ${RPM_BUILD_ROOT}
|
||||
%config(noreplace) %{_sysconfdir}/cron.d/sogo
|
||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/SOGo.conf
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/sogo
|
||||
%doc ChangeLog NEWS Scripts/*sh Scripts/updates.php Apache/SOGo-apple-ab.conf
|
||||
%doc ChangeLog CHANGELOG.md Scripts/*sh Scripts/updates.php Apache/SOGo-apple-ab.conf
|
||||
|
||||
%files -n sogo-tool
|
||||
%{_sbindir}/sogo-tool
|
||||
|
||||
Reference in New Issue
Block a user