ci: fixed prepare client dir stage - #6
Conversation
There was a problem hiding this comment.
Pull request overview
This PR fixes the "Prepare Client Directory" stage in the CI workflow by adding necessary files to the Python release directory and cleaning up build artifacts.
Key changes:
- Adds workflow file (publish.yml) and optional LICENSE file to the release directory
- Removes uv.lock from the release to exclude build-specific dependencies
- Removes a debug grep command that was checking the version string
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| rm -rf python_release/tests | ||
| find python_release -type d -name "__pycache__" -exec rm -rf {} + | ||
| rm -rf python_release/.venv | ||
| rm -rf python_release/uv.lock |
There was a problem hiding this comment.
Removing uv.lock may cause issues with the publish.yml workflow which references "uv.lock" in the cache-dependency-glob configuration. While the publish workflow should still work, the absence of uv.lock will prevent proper cache invalidation based on dependency changes and may lead to using stale cached dependencies. Consider whether uv.lock should be included in the release or if the publish.yml cache configuration should be updated.
| rm -rf python_release/uv.lock |
No description provided.