diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index da8d8925..9357abb5 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -93,6 +93,8 @@ jobs: steps: - name: 🛒 Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: ⚙️ Setup - Python 🐍 uses: actions/setup-python@v5 diff --git a/pyproject.toml b/pyproject.toml index 3f791fe7..1812b662 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,7 @@ source = "versioningit" [tool.versioningit.format] # WORKAROUND: commits for actual production releases keep getting identified as dirty and/or with distance # Delete this config when fixed. It should be the commented lines below each (i.e. the default formats) +#distance = "{next_version}.dev{distance}+{vcs}{rev}" dirty = "{base_version}" #dirty = "{base_version}+d{build_date:%Y%m%d}" distance-dirty = "{base_version}"