From 88f7122d8d62de67c10d5d6f16635d9a714e961e Mon Sep 17 00:00:00 2001 From: mahee96 <47920326+mahee96@users.noreply.github.com> Date: Tue, 24 Feb 2026 01:36:33 +0530 Subject: [PATCH] CI: improve more ci worflow --- scripts/ci/workflow.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/ci/workflow.py b/scripts/ci/workflow.py index d2e8725a..f84d97e9 100644 --- a/scripts/ci/workflow.py +++ b/scripts/ci/workflow.py @@ -76,7 +76,7 @@ def reserve_build_number(repo, max_attempts=5): run("git add version.json", check=False, cwd=repo) run( - f"git commit -m '{data.get('tag','build')} build no - {data['build']}' || true", + f"git commit -m '{data['tag']} - build no: {data['build']}' || true", check=False, cwd=repo, ) @@ -264,9 +264,7 @@ def deploy(repo, source_json, release_tag, short_commit, marketing_version, vers run("git config user.name 'GitHub Actions'", check=False) run("git config user.email 'github-actions@github.com'", check=False) - run( - f"python3 {ROOT}/scripts/update_source_metadata.py '{source_json}'" - ) + run(f"python3 {ROOT}/scripts/update_source_metadata.py '{source_json}'") max_attempts = 5 for attempt in range(1, max_attempts + 1):