diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 887ea7ae4f..91d130b8c5 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -17,6 +17,8 @@ jobs: id-token: write steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python 3.9 uses: actions/setup-python@v4 diff --git a/pyproject.toml b/pyproject.toml index 21dbcbadae..d9b7b20a44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,8 @@ build-backend = "poetry.core.masonry.api" [tool.poetry-dynamic-versioning] enable = true vcs = "git" +metadata = false +format = "{base}" [tool.poetry-dynamic-versioning.substitution] files = ["dowhy/__init__.py"]