Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions translations-desktop/handleDesktopTranslations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ cd desktop
# Generate source translation files for master and stable-x.y branches
mkdir /branches

single_versions=$(git branch -r | grep "origin\/stable\-[0-9]\.[0-9]$" | cut -f2 -d"/" | sort -r | head -n 1)
double_versions=$(git branch -r | grep "origin\/stable\-[0-9]\.[0-9][0-9]$" | cut -f2 -d"/" | sort -r | head -n 1)
versions="$single_versions $double_versions master"
stable_versions=$(git branch -r | grep "origin\/stable\-[0-9]\.[0-9]{1,}$" -Eo | cut -f2 -d"/" | sort --version-sort -r | head -n 2)
versions="$stable_versions master"

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