From 04f0c85bb8836d400ee9bb0fce6d652438f57e22 Mon Sep 17 00:00:00 2001 From: lmbelo Date: Tue, 5 Sep 2023 21:10:48 -0300 Subject: [PATCH] Fetching commits and tags to generate version name --- .github/workflows/pypi.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 17b6f34..c0a5967 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v3 @@ -50,6 +52,8 @@ jobs: steps: - name: Check out repository uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v3