diff --git a/pyproject.toml b/pyproject.toml index 86475a8..ece1aa7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,8 +63,18 @@ ruff = "ruff check src --fix-only" black = "black src" test = "pytest --cov --cov-report=xml" mypy = "mypy src --install-types --non-interactive" -bumpver = "pdm bump micro" -tag = "pdm bump tag" + +[tool.pdm.scripts.bumpver] +composite = [ + "pdm self add pdm-bump", + "pdm bump micro", +] + +[tool.pdm.scripts.tag] +composite = [ + "pdm self add pdm-bump", + "pdm bump tag", +] [tool.pdm.scripts.prebuild] composite = [ @@ -83,7 +93,6 @@ composite = [ [tool.pdm.scripts.pub] composite = [ "prebuild", - "pdm install --plugins", "bumpver", "pdm publish", ]