diff --git a/.github/workflows/publish_test_pypi.yml b/.github/workflows/publish_test_pypi.yml index 51ed631..65dce85 100644 --- a/.github/workflows/publish_test_pypi.yml +++ b/.github/workflows/publish_test_pypi.yml @@ -8,6 +8,8 @@ jobs: steps: - name: Check out the repository uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v3 diff --git a/pyproject.toml b/pyproject.toml index 2c9fc81..92d4116 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" +requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] +build-backend = "poetry_dynamic_versioning.backend" [tool.poetry] name = "ensemble-integration" -version = "0.1.5" +version = "0.0.0" readme = "README.rst" description = "Ensemble Integration: a customizable pipeline for generating multi-modal, heterogeneous ensembles" authors = ["Jamie Bennett", "Yan Chak (Richard) Li", "Aviad Susman", "Gaurav Pandey"] @@ -64,4 +64,9 @@ numpydoc = "1.5.0" addopts = "--cov=eipy --cov-report xml --cov-append" testpaths = [ "tests" -] \ No newline at end of file +] + +[tool.poetry-dynamic-versioning] +enable = true +vcs = "git" +style = "semver"