From 5b8e26f7b83578201940abaeeb69f69bab034a2e Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Thu, 27 Mar 2025 14:33:14 +0100 Subject: [PATCH] [CI] Fix git checkout order in after_success_docs_translation.sh (#13467) --- .ci/after_success_docs_translation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/after_success_docs_translation.sh b/.ci/after_success_docs_translation.sh index e86df5d75..7b1013fec 100755 --- a/.ci/after_success_docs_translation.sh +++ b/.ci/after_success_docs_translation.sh @@ -7,9 +7,9 @@ source "${CI_DIR}/common.sh" set +e echo -e "\\n${ANSI_GREEN}Updating translation source file." +pushd l10n && git checkout master && popd || exit 1 make pot pushd l10n && { - git checkout -f master # If only one line was added and removed, it was just the timestamp. git diff --numstat | grep "1[[:space:]]1[[:space:]]templates/koreader.pot" && echo -e "\\n${ANSI_GREEN}No updated translations found." || { git -c user.name="KOReader build bot" -c user.email="non-reply@koreader.rocks" \