This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/flink-agents.git
The following commit(s) were added to refs/heads/main by this push:
new 1260bf0 [hotfix] improve build.sh script (#272)
1260bf0 is described below
commit 1260bf0a24d736e80026f7e0aaf7ac47e1d25227
Author: Alan Z. <[email protected]>
AuthorDate: Fri Oct 10 18:58:11 2025 -0700
[hotfix] improve build.sh script (#272)
---
tools/build.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/build.sh b/tools/build.sh
index a70711e..4c070a9 100755
--- a/tools/build.sh
+++ b/tools/build.sh
@@ -51,6 +51,7 @@ cp
"${PROJECT_ROOT}/dist/target/flink-agents-dist-${PROJECT_VERSION}.jar" ${PYTH
# build python
cd python
+rm -rf dist/ # Clean old build artifacts before building
pip install uv
uv sync --extra dev
uv run python -m build