Skip to content

Commit

Permalink
fix(translate): Only translate latest desktop stable branch
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed May 10, 2023
1 parent 0832c42 commit 68c2871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion translations-desktop/handleDesktopTranslations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cd desktop
# Generate source translation files for master and stable-x.y branches
mkdir /branches

versions=$(git branch -r | grep "origin\/stable\-[0-9]\.[0-9]$" | cut -f2 -d"/")" master"
versions=$(git branch -r | grep "origin\/stable\-[0-9]\.[0-9]$" | cut -f2 -d"/" | sort -r | head -n 1)" master"

# Allow to manually limit translations to specified backport branches within the repo
if [[ -f '.tx/backport' ]]; then
Expand Down

0 comments on commit 68c2871

Please sign in to comment.