MCPcopy Create free account
hub / github.com/TrainLoop/evals / run_version_bump

Function run_version_bump

scripts/release.py:508–517  ·  view source on GitHub ↗

Run the version bump script.

(bump_type: str)

Source from the content-addressed store, hash-verified

506
507
508def run_version_bump(bump_type: str):
509 """Run the version bump script."""
510 print(f"📈 Running version bump: {bump_type}")
511
512 bump_script = ROOT / "scripts" / "bump" / "bump_version.py"
513 if not bump_script.exists():
514 sys.exit(f"❌ Bump script not found: {bump_script}")
515
516 run_cmd(f"python {bump_script} {bump_type}")
517 print("✅ Version bump completed")
518
519
520def create_pull_request(new_version: str, description: str, branch_name: str):

Callers 1

mainFunction · 0.85

Calls 1

run_cmdFunction · 0.85

Tested by

no test coverage detected