mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-27 23:47:39 +01:00
CI: improve more ci worflow
This commit is contained in:
@@ -104,13 +104,6 @@ def reserve_build_number(repo, max_attempts=5):
|
||||
write(data)
|
||||
|
||||
run("git add version.json", check=False, cwd=repo)
|
||||
|
||||
print("---- DEBUG reserve_build_number ----", file=sys.stderr)
|
||||
print(f"attempt: {attempt}", file=sys.stderr)
|
||||
print(f"data: {data!r}", file=sys.stderr)
|
||||
print(version_json.read_text(), file=sys.stderr)
|
||||
print("------------------------------------", file=sys.stderr)
|
||||
|
||||
run(f"git commit -m '{data['tag']} - build no: {data['build']}' || true", check=False, cwd=repo)
|
||||
|
||||
rc = subprocess.call("git push", shell=True, cwd=repo)
|
||||
|
||||
Reference in New Issue
Block a user