From 300947693050d58ffb29b79256abc94d50740048 Mon Sep 17 00:00:00 2001 From: geo-martino Date: Wed, 17 Apr 2024 13:47:11 -0400 Subject: [PATCH] checkout all on hatchling build --- .github/workflows/validate.yml | 2 ++ pyproject.toml | 1 + 2 files changed, 3 insertions(+) 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}"