From 525c75317f3bb11449093cc7d90d081025320997 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 4 Nov 2020 10:27:39 -0500 Subject: [PATCH] clone the whole repo when building release We need the history to get the version number. Signed-off-by: Doug Hellmann --- .github/workflows/python-publish.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index e11d2b4f..a852df9a 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -14,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v2 with: