fix: bust uv cache for freshly published packages in enterprise release

This commit is contained in:
Greyson LaLonde
2026-03-27 02:21:31 +08:00
committed by GitHub
parent 52249683a7
commit 10fc3796bb

View File

@@ -1159,7 +1159,19 @@ def _release_enterprise(version: str, is_prerelease: bool, dry_run: bool) -> Non
_wait_for_pypi("crewai", version)
console.print("\nSyncing workspace...")
run_command(["uv", "sync"], cwd=repo_dir)
run_command(
[
"uv",
"sync",
"--refresh-package",
"crewai",
"--refresh-package",
"crewai-tools",
"--refresh-package",
"crewai-files",
],
cwd=repo_dir,
)
console.print("[green]✓[/green] Workspace synced")
# --- branch, commit, push, PR ---