mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-21 17:05:39 +03:00
increment_version.sh: do not always update translations
Change-Id: Ia6257e15e50287eeffe1dcdf4bf9dcc11f8418e9
This commit is contained in:
parent
2f4d379ed0
commit
540dd5b778
1 changed files with 9 additions and 7 deletions
|
@ -30,13 +30,15 @@ pushd "$mydir" > /dev/null
|
||||||
|
|
||||||
do_translation_pull=0
|
do_translation_pull=0
|
||||||
|
|
||||||
if git remote get-url weblate > /dev/null; then
|
if [ "$release_type" = "normal" ] && [ "$preview" != 1 ]; then
|
||||||
echo "Pulling translations..."
|
if git remote get-url weblate > /dev/null; then
|
||||||
translation commit && do_translation_pull=1 || echo "translation tool not found, skipping forced commit"
|
echo "Pulling translations..."
|
||||||
git fetch weblate
|
translation commit && do_translation_pull=1 || echo "translation tool not found, skipping forced commit"
|
||||||
git merge weblate/sc --no-edit
|
git fetch weblate
|
||||||
else
|
git merge weblate/sc --no-edit
|
||||||
echo "WARN: remote weblate not found, not updating translations"
|
else
|
||||||
|
echo "WARN: remote weblate not found, not updating translations"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
last_tag=`downstream_latest_tag`
|
last_tag=`downstream_latest_tag`
|
||||||
|
|
Loading…
Reference in a new issue