chore: Update localizable script for backports

Signed-off-by: Marcel Müller <[email protected]>
This commit is contained in:
Marcel Müller committed 2026-05-04 12:39:54 +02:00
1 parent 8ba15854b0
commit 0d02cec18d
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ echo 'Generating Localizable.strings file...'
CURRENT_BRANCH=$(git branch --show-current)
STABLE_BRANCH=$(<.tx/backport)
if [ "$CURRENT_BRANCH" != $STABLE_BRANCH ]; then
if [[ "$CURRENT_BRANCH" != $STABLE_BRANCH && ! "$CURRENT_BRANCH" =~ ^backport/[[:digit:]]+/"$STABLE_BRANCH"$ ]]; then
echo "Not on $STABLE_BRANCH branch, cloning $STABLE_BRANCH branch"
REMOTE_URL=$(git config --get remote.origin.url)