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 }}
run: |
for package in dist/*; do
if [[ "$package" == *"crewai_devtools"* ]]; then
echo "Skipping private package: $package"
continue
fi
echo "Publishing $package"
uv publish "$package"
done

View File

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