From 25708ea410080d5aeba30190f301d597e30e49c7 Mon Sep 17 00:00:00 2001 From: Thomas Rupprecht Date: Sat, 4 Feb 2023 03:57:09 +0100 Subject: [PATCH] chore(ci): improve CHANGELOG config --- CHANGELOG.md | 32 ++++++++++++++------------------ cliff.toml | 5 +++-- 2 files changed, 17 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5ce5a6..f8cde2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ All notable changes to this project will be documented in this file. - Add pre-commit hook with husky -## [0.9.1] - 2023-01-22 +## [v0.9.1](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.1) - 2023-01-22 ### Other - Extract code into setBadgeStatus and createStatusChangedNotification function @@ -24,7 +24,7 @@ All notable changes to this project will be documented in this file. - Add link to Pad -## [0.9.0] - 2023-01-20 +## [v0.9.0](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.9.0) - 2023-01-20 ### Other - Manifest_v3 @@ -32,7 +32,7 @@ All notable changes to this project will be documented in this file. - Make code compatible with manifest_version v3 -## [0.8.7] - 2023-01-20 +## [v0.8.7](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.7) - 2023-01-20 ### Other - Add badges to README @@ -45,13 +45,13 @@ All notable changes to this project will be documented in this file. - Open usrspace.at homepage on install -## [0.8.6] - 2023-01-05 +## [v0.8.6](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.6) - 2023-01-05 ### Other - Change addon id to currently used one -## [0.8.5] - 2023-01-05 +## [v0.8.5](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.5) - 2023-01-05 ### Other - Add web-ext-config.js and add watch scripts @@ -61,7 +61,7 @@ All notable changes to this project will be documented in this file. - Add addon id -## [0.8.4] - 2023-01-05 +## [v0.8.4](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.4) - 2023-01-05 ### Other - Use html template tag @@ -70,13 +70,13 @@ All notable changes to this project will be documented in this file. - Add lint script -## [0.8.3] - 2023-01-04 +## [v0.8.3](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.3) - 2023-01-04 ### Other - Update strict_min_version to 57.0 -## [0.8.2] - 2023-01-04 +## [v0.8.2](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.2) - 2023-01-04 ### Other - Explicit set persistent=true and add browser_specific_settings in manifest.json @@ -84,7 +84,7 @@ All notable changes to this project will be documented in this file. - Improve popup styling -## [0.8.1] - 2022-12-25 +## [v0.8.1](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.1) - 2022-12-25 ### Bug Fixes - Fix copy-version script @@ -102,7 +102,7 @@ All notable changes to this project will be documented in this file. - Cleanup data on startup -## [0.8.0] - 2022-12-24 +## [v0.8.0](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.8.0) - 2022-12-24 ### Other - Improve code, doc, tooling @@ -120,7 +120,7 @@ All notable changes to this project will be documented in this file. - Set build filename -## [0.7] - 2021-11-06 +## [v0.7](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.7) - 2021-11-06 ### Bug Fixes - Fix new urls @@ -144,19 +144,19 @@ All notable changes to this project will be documented in this file. - Remove old html code and load right svg -## [0.4] - 2019-10-04 +## [v0.4](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.4) - 2019-10-04 ### Bug Fixes - Fix wrong icon -## [0.3] - 2019-10-04 +## [v0.3](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.3) - 2019-10-04 ### Other - Improve popup content -## [0.2] - 2019-08-28 +## [v0.2](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/v0.2) - 2019-08-28 ### Bug Fixes - Fix icon style @@ -171,14 +171,10 @@ All notable changes to this project will be documented in this file. - Improve styling - Use config - Offen/Geschlossen-Info schön im Pop-Up -- Merge branch 'open-info-popup' into 'master' -Offen/Geschlossen-Info schön im Pop-Up -See merge request XimeX/usrspace-browser-addon!1 - Add space status change notification - Small fix - Make text over icon more readable - Switch from GitLab to Gitea -- Merge branch 'master' of pludi/usrspace-browser-addon into master - Missing change from Gitlab to Gitea - Update browser-polyfill - Add sections diff --git a/cliff.toml b/cliff.toml index e21da19..5211d68 100644 --- a/cliff.toml +++ b/cliff.toml @@ -11,14 +11,14 @@ All notable changes to this project will be documented in this file.\n # https://tera.netlify.app/docs/#introduction body = """ {% if version %}\ - ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} + ## [{{ version }}](https://gitea.usrspace.at/XimeX/usrspace-browser-addon/releases/tag/{{ version }}) - {{ timestamp | date(format="%Y-%m-%d") }} {% else %}\ ## [unreleased] {% endif %}\ {% for group, commits in commits | group_by(attribute="group") %} ### {{ group | upper_first }} {% for commit in commits %}\ - - {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first | trim_end | replace(from="\n\n", to="\n") }} + - {% if commit.breaking %}[**breaking**] {% endif %}{{ commit.message | upper_first | trim_end }} {% endfor %}\ {% endfor %}\n\n """ @@ -54,6 +54,7 @@ commit_parsers = [ { body = ".*security", group = "Security"}, { message = "^[0-9]+.[0-9]+.[0-9]+", skip = true}, { message = "^release v0.[0-9]", skip = true}, + { message = "^Merge branch ", skip = true}, { message = ".*", group = "Other", default_scope = "other"}, ] # protect breaking changes from being skipped due to matching a skipping commit_parser