Fix uv export in bump-my-version pre_commit_hooks to run from workspace root #55
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/issue-54-fix-bumpversion-uv-export"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
--directory ../.to theuv exportcall in[tool.bumpversion].pre_commit_hooksin bothpackages/fenliu/pyproject.tomlandpackages/zhongli/pyproject.tomluv exportrun from a package subdirectory only exports that package's dependencies (~1032 lines for zhongli). The workspace-leveluv-exportpre-commit hook runs from the repo root and produces the full workspace export (~1645 lines).bump-my-versionstaged the short version; the hook overwrote it and failed.Adding
--directory ../.makes thepre_commit_hooksexport match the hook's output exactly, sojust releasecompletes cleanly.Closes #54