mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 00:58:30 +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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: github.event.release.prerelease == true
|
|
||||||
name: Build packages
|
name: Build packages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
@@ -25,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: |
|
run: |
|
||||||
uv build --prerelease="allow" --all-packages
|
uv build --all-packages
|
||||||
rm dist/.gitignore
|
rm dist/.gitignore
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
@@ -35,7 +34,6 @@ jobs:
|
|||||||
path: dist/
|
path: dist/
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
if: github.event.release.prerelease == true
|
|
||||||
name: Publish to PyPI
|
name: Publish to PyPI
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -428,7 +428,7 @@ def bump(version: str, dry_run: bool, no_push: bool) -> None:
|
|||||||
"pr",
|
"pr",
|
||||||
"create",
|
"create",
|
||||||
"--base",
|
"--base",
|
||||||
"release/v1.0.0",
|
"main",
|
||||||
"--title",
|
"--title",
|
||||||
f"feat: bump versions to {version}",
|
f"feat: bump versions to {version}",
|
||||||
"--body",
|
"--body",
|
||||||
@@ -508,15 +508,13 @@ def tag(dry_run: bool, no_edit: bool) -> None:
|
|||||||
tag_name = version
|
tag_name = version
|
||||||
|
|
||||||
if not dry_run:
|
if not dry_run:
|
||||||
with console.status("[cyan]Checking out release/v1.0.0 branch..."):
|
with console.status("[cyan]Checking out main branch..."):
|
||||||
try:
|
try:
|
||||||
run_command(["git", "checkout", "release/v1.0.0"])
|
run_command(["git", "checkout", "main"])
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
console.print(
|
console.print(f"[red]✗[/red] Checked out main branch: {e}")
|
||||||
f"[red]✗[/red] Checked out release/v1.0.0 branch: {e}"
|
|
||||||
)
|
|
||||||
sys.exit(1)
|
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..."):
|
with console.status("[cyan]Pulling latest changes..."):
|
||||||
try:
|
try:
|
||||||
@@ -524,7 +522,7 @@ def tag(dry_run: bool, no_edit: bool) -> None:
|
|||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
console.print(f"[red]✗[/red] Pulled latest changes: {e}")
|
console.print(f"[red]✗[/red] Pulled latest changes: {e}")
|
||||||
sys.exit(1)
|
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}"
|
release_notes = f"Release {version}"
|
||||||
commits = ""
|
commits = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user