chore: use main for devtools branch

This commit is contained in:
Greyson LaLonde
2025-10-20 17:29:09 -04:00
committed by GitHub
parent d1343b96ed
commit 7578901f6d
2 changed files with 7 additions and 11 deletions

View File

@@ -428,7 +428,7 @@ def bump(version: str, dry_run: bool, no_push: bool) -> None:
"pr",
"create",
"--base",
"release/v1.0.0",
"main",
"--title",
f"feat: bump versions to {version}",
"--body",
@@ -508,15 +508,13 @@ def tag(dry_run: bool, no_edit: bool) -> None:
tag_name = version
if not dry_run:
with console.status("[cyan]Checking out release/v1.0.0 branch..."):
with console.status("[cyan]Checking out main branch..."):
try:
run_command(["git", "checkout", "release/v1.0.0"])
run_command(["git", "checkout", "main"])
except subprocess.CalledProcessError as e:
console.print(
f"[red]✗[/red] Checked out release/v1.0.0 branch: {e}"
)
console.print(f"[red]✗[/red] Checked out main branch: {e}")
sys.exit(1)
console.print("[green]✓[/green] On release/v1.0.0 branch")
console.print("[green]✓[/green] On main branch")
with console.status("[cyan]Pulling latest changes..."):
try:
@@ -524,7 +522,7 @@ def tag(dry_run: bool, no_edit: bool) -> None:
except subprocess.CalledProcessError as e:
console.print(f"[red]✗[/red] Pulled latest changes: {e}")
sys.exit(1)
console.print("[green]✓[/green] release/v1.0.0 branch up to date")
console.print("[green]✓[/green] main branch up to date")
release_notes = f"Release {version}"
commits = ""