fix: reconcile Gitea Ralph status labels

This commit is contained in:
Dobromir Popov
2026-07-17 00:32:08 +03:00
parent 9e70b94417
commit 989b55970b
3 changed files with 11 additions and 3 deletions

View File

@@ -8,5 +8,9 @@ cd "$ROOT"
python3 scripts/ralph_gitea_sync.py sync
ralph_status=0
"$@" || ralph_status=$?
python3 scripts/ralph_gitea_sync.py sync
if [ "$ralph_status" -eq 0 ]; then
python3 scripts/ralph_gitea_sync.py sync
else
python3 scripts/ralph_gitea_sync.py sync --reset-in-progress
fi
exit "$ralph_status"