From 601c3c75e6e0d2afb81370b42bb496f7ebaa068e Mon Sep 17 00:00:00 2001 From: DragonMoffon Date: Thu, 23 Jan 2025 16:27:02 +1300 Subject: [PATCH] update build prod workflows to fetch tags to fix incorrect version numbering --- .github/workflows/push_build_to_prod_pypi.yml | 2 ++ .github/workflows/push_build_to_test_pypi.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/push_build_to_prod_pypi.yml b/.github/workflows/push_build_to_prod_pypi.yml index a20bbe8255..d73785b3e7 100644 --- a/.github/workflows/push_build_to_prod_pypi.yml +++ b/.github/workflows/push_build_to_prod_pypi.yml @@ -32,6 +32,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-tags: 'true' - name: Set up Python uses: actions/setup-python@v4.3.0 with: diff --git a/.github/workflows/push_build_to_test_pypi.yml b/.github/workflows/push_build_to_test_pypi.yml index ebf695d1e9..cd99c99e51 100644 --- a/.github/workflows/push_build_to_test_pypi.yml +++ b/.github/workflows/push_build_to_test_pypi.yml @@ -30,6 +30,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-tags: 'true' - name: Set up Python uses: actions/setup-python@v4.3.0 with: