[CI] git fetch first in after_success_docs_translation.sh (#13468)

This commit is contained in:
Frans de Jonge
2025-03-27 14:41:15 +01:00
committed by GitHub
parent 5b8e26f7b8
commit d94a9d016d

View File

@@ -7,7 +7,7 @@ source "${CI_DIR}/common.sh"
set +e
echo -e "\\n${ANSI_GREEN}Updating translation source file."
pushd l10n && git checkout master && popd || exit 1
pushd l10n && git fetch origin && git checkout master && popd || exit 1
make pot
pushd l10n && {
# If only one line was added and removed, it was just the timestamp.