mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-15 07:22:44 +00:00
chore: use main for devtools branch
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -7,7 +7,6 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.event.release.prerelease == true
|
||||
name: Build packages
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
@@ -25,7 +24,7 @@ jobs:
|
||||
|
||||
- name: Build packages
|
||||
run: |
|
||||
uv build --prerelease="allow" --all-packages
|
||||
uv build --all-packages
|
||||
rm dist/.gitignore
|
||||
|
||||
- name: Upload artifacts
|
||||
@@ -35,7 +34,6 @@ jobs:
|
||||
path: dist/
|
||||
|
||||
publish:
|
||||
if: github.event.release.prerelease == true
|
||||
name: Publish to PyPI
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -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 = ""
|
||||
|
||||
Reference in New Issue
Block a user