From 7ea17baf996368099b2795b60eaf5f4f3ca665b8 Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Thu, 19 Mar 2026 12:54:50 +0100 Subject: [PATCH] fix(translations-desktop): update regexp used for branch matching The new `stable-33.0` branch was never matched and therefore never received any updates. Also excludes the stable-6.2 branch which is only used for testing. Signed-off-by: Jyrki Gadinger --- translations-desktop/handleDesktopTranslations.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/translations-desktop/handleDesktopTranslations.sh b/translations-desktop/handleDesktopTranslations.sh index 5f9c3387..b5e3d170 100755 --- a/translations-desktop/handleDesktopTranslations.sh +++ b/translations-desktop/handleDesktopTranslations.sh @@ -15,7 +15,8 @@ cd desktop # Generate source translation files for master and stable-x.y branches mkdir /branches -stable_versions=$(git branch -r | grep "origin\/stable\-[0-9]\.[0-9]{1,}$" -Eo | cut -f2 -d"/" | sort --version-sort -r | head -n 2) +# the 'stable-6.2' branch was only used for internal testing, not a proper release +stable_versions=$(git branch -r | grep "origin\/stable\-[0-9]+\.[0-9]{1,}$" -Eo | cut -f2 -d"/" | grep -v "stable-6.2" | sort --version-sort -r | head -n 2) versions="$stable_versions master" # Allow to manually limit translations to specified backport branches within the repo