Skip to content

Commit 47d5c39

Browse files
Merge pull request #873 from nextcloud/android-handle-multiple-stable
Android: handle multiple stable
2 parents 978f27e + ee76942 commit 47d5c39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

translations/handlePlainTranslations.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ default_branch=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remote
1919
versions="$default_branch $(git branch -r | grep -E "origin\/stable\-[0-9\.]+$" | cut -f2 -d"/" | sort -r | head -n1)"
2020

2121
# combine stable branches to keep freshly removed translations
22-
if [ $1 = "nextcloud" -a $2 = "android" ]; then
22+
if [ $1 = "nextcloud" -a $2 = "android" ] ||
23+
[ $1 = "nextcloud" -a $2 = "android-library" ] ||
24+
[ $1 = "nextcloud" -a $2 = "notes-android" ] ||
25+
[ $1 = "nextcloud" -a $2 = "talk-android" ] ||
26+
; then
2327
mkdir stable-values
2428
for version in $versions
2529
do

0 commit comments

Comments
 (0)