mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
fix: match tag and release title, ignore devtools build for pypi
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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,
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user