fix: match tag and release title, ignore devtools build for pypi

This commit is contained in:
Greyson LaLonde
2025-10-03 19:18:19 -04:00
committed by GitHub
parent 0b305dabc9
commit 38bc5a9dc4
2 changed files with 7 additions and 1 deletions

View File

@@ -66,6 +66,10 @@ jobs:
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }} UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: | run: |
for package in dist/*; do for package in dist/*; do
if [[ "$package" == *"crewai_devtools"* ]]; then
echo "Skipping private package: $package"
continue
fi
echo "Publishing $package" echo "Publishing $package"
uv publish "$package" uv publish "$package"
done done

View File

@@ -505,7 +505,7 @@ def tag(dry_run: bool, no_edit: bool) -> None:
version = unique_versions.pop() version = unique_versions.pop()
console.print(f"[green]✓[/green] Validated packages @ [bold]{version}[/bold]") console.print(f"[green]✓[/green] Validated packages @ [bold]{version}[/bold]")
tag_name = f"v{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 release/v1.0.0 branch..."):
@@ -661,6 +661,8 @@ def tag(dry_run: bool, no_edit: bool) -> None:
"release", "release",
"create", "create",
tag_name, tag_name,
"--title",
tag_name,
"--notes", "--notes",
release_notes, release_notes,
] ]