From e609b745e1b44db22ee43b546c1e85ba6075d555 Mon Sep 17 00:00:00 2001 From: Jon Grace-Cox <30441316+jongracecox@users.noreply.github.com> Date: Sat, 11 Jan 2025 17:36:53 -0500 Subject: [PATCH] fix: Fix package version (#106) Attempt to fix the package version bug by fetching the entire repo in the package build workflow. This should get the tag so it can be used when setting the version. Closes #106. --- .github/workflows/pr_check.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_check.yaml b/.github/workflows/pr_check.yaml index 8797fb9..66f90cd 100644 --- a/.github/workflows/pr_check.yaml +++ b/.github/workflows/pr_check.yaml @@ -36,7 +36,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout code + uses: actions/checkout@v3 + with: + fetch-depth: 0 # Fetch the entire history including tags - name: Set up Python uses: actions/setup-python@v4