Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

sync-translations: Wait until MERGED, not until not-OPEN.

Alex Vandiver740be1d55cb4
diff --git a/tools/i18n/sync-translations b/tools/i18n/sync-translations
index f4ae194e732..f16924bec2c 100755
--- a/tools/i18n/sync-translations
+++ b/tools/i18n/sync-translations
@@ -92,7 +92,7 @@ else
git branch -D "$local_branch"
echo "Waiting for PR to merge..."
- while [ "$(gh pr list --search "$commit" --state all --json state --jq .[0].state)" == "OPEN" ]; do
+ while [ "$(gh pr list --search "$commit" --state all --json state --jq .[0].state)" != "MERGED" ]; do
sleep 30
done