diff options
author | Earl Warren <contact@earl-warren.org> | 2024-07-24 06:22:35 +0200 |
---|---|---|
committer | Earl Warren <contact@earl-warren.org> | 2024-07-24 06:22:35 +0200 |
commit | 54e364b7bc4100f92ed2631fd6e9e37579ad0c41 (patch) | |
tree | 309cf7439920100ff2c0e856c7dfff263e007d63 /release-notes-assistant.sh | |
parent | Merge pull request 'feat(release-notes-assistant): if no labels, fallback to ... (diff) | |
download | forgejo-54e364b7bc4100f92ed2631fd6e9e37579ad0c41.tar.xz forgejo-54e364b7bc4100f92ed2631fd6e9e37579ad0c41.zip |
fix(release-notes-assistant): add the Localization category
The Localization category groups translations updates towards the end
of the release notes.
Diffstat (limited to 'release-notes-assistant.sh')
-rwxr-xr-x | release-notes-assistant.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/release-notes-assistant.sh b/release-notes-assistant.sh index fd8570d988..2a036aaffd 100755 --- a/release-notes-assistant.sh +++ b/release-notes-assistant.sh @@ -7,6 +7,7 @@ label_bug=bug label_feature=feature label_ui=forgejo/ui label_breaking=breaking +label_localization=internationalization payload=$(mktemp) pr=$(mktemp) @@ -40,6 +41,9 @@ function test_main() { test_payload_labels $label_worth $label_bug test "$(categorize)" = 'CB Bug fixes' + test_payload_labels $label_worth $label_localization + test "$(categorize)" = 'DA Localization' + test_payload_labels $label_worth test "$(categorize)" = 'ZE Other changes without a feature or bug label' @@ -103,6 +107,7 @@ function categorize() { is_ui=false is_bug=false is_feature=false + is_localization=false is_breaking=false # @@ -115,6 +120,9 @@ function categorize() { *$label_feature*) is_feature=true ;; + *$label_localization*) + is_localization=true + ;; esac case "$labels" in @@ -179,6 +187,8 @@ function categorize() { else echo -n ZD User Interface changes without a feature or bug label fi + elif $is_localization; then + echo -n DA Localization else if $is_feature; then echo -n CA Features |