increment_version.sh: weblate now auto-pushes, no need to manage here
Change-Id: I1d671cc682e02c9e8bc29634471ac18c2e41c112
This commit is contained in:
parent
c3077c1ff9
commit
dab8f0b51c
|
@ -9,6 +9,8 @@ source "$mydir/merge_helpers.sh"
|
||||||
# https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/
|
# https://f-droid.org/en/docs/All_About_Descriptions_Graphics_and_Screenshots/
|
||||||
max_changelog_len=500
|
max_changelog_len=500
|
||||||
|
|
||||||
|
should_merge_translations_for_release=0
|
||||||
|
|
||||||
if [ "$1" = "preview" ]; then
|
if [ "$1" = "preview" ]; then
|
||||||
preview=1
|
preview=1
|
||||||
shift
|
shift
|
||||||
|
@ -30,7 +32,8 @@ pushd "$mydir" > /dev/null
|
||||||
|
|
||||||
do_translation_pull=0
|
do_translation_pull=0
|
||||||
|
|
||||||
if [ "$release_type" = "normal" ] && [ "$preview" != 1 ]; then
|
if ((should_merge_translations_for_release)); then
|
||||||
|
if [ "$release_type" = "normal" ] && [ "$preview" != 1 ]; then
|
||||||
if git remote get-url weblate > /dev/null; then
|
if git remote get-url weblate > /dev/null; then
|
||||||
echo "Pulling translations..."
|
echo "Pulling translations..."
|
||||||
translation commit && do_translation_pull=1 || echo "translation tool not found, skipping forced commit"
|
translation commit && do_translation_pull=1 || echo "translation tool not found, skipping forced commit"
|
||||||
|
@ -39,6 +42,7 @@ if [ "$release_type" = "normal" ] && [ "$preview" != 1 ]; then
|
||||||
else
|
else
|
||||||
echo "WARN: remote weblate not found, not updating translations"
|
echo "WARN: remote weblate not found, not updating translations"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
last_tag=`downstream_latest_tag`
|
last_tag=`downstream_latest_tag`
|
||||||
|
|
Loading…
Reference in New Issue