diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 0746e6b..942b5f2 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -29,6 +29,9 @@ jobs: - name: Install dependencies run: poetry install --no-interaction + - name: Add dynamic versioning plugin + run: poetry self add "poetry-dynamic-versioning[plugin]" + - name: Build source and wheel archives run: poetry build diff --git a/pyproject.toml b/pyproject.toml index 3bf81eb..7ae64dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,7 @@ map = ["linkml_map"] linkml-store = "linkml_store.cli:cli" [tool.poetry-dynamic-versioning] -enable = false +enable = true vcs = "git" style = "pep440"