increment_version.sh: Update translation before
Change-Id: I74953d63d3a944640a62923ba0f1bd6ff02ef859
This commit is contained in:
parent
dc34334e3c
commit
ce03789c1a
|
@ -28,6 +28,17 @@ fi
|
|||
|
||||
pushd "$mydir" > /dev/null
|
||||
|
||||
do_translation_pull=0
|
||||
|
||||
if git remote get-url weblate > /dev/null; then
|
||||
echo "Pulling translations..."
|
||||
translation commit && do_translation_pull=1 || echo "translation tool not found, skipping forced commit"
|
||||
git fetch weblate
|
||||
git merge weblate/sc --no-edit
|
||||
else
|
||||
echo "WARN: remote weblate not found, not updating translations"
|
||||
fi
|
||||
|
||||
last_tag=`downstream_latest_tag`
|
||||
|
||||
build_gradle="vector/build.gradle"
|
||||
|
@ -186,4 +197,9 @@ else
|
|||
git tag "$new_tag"
|
||||
fi
|
||||
|
||||
if ((do_translation_pull)); then
|
||||
echo "Updating weblate repo..."
|
||||
translation pull
|
||||
fi
|
||||
|
||||
popd > /dev/null
|
||||
|
|
Loading…
Reference in New Issue