From b5022bd5de14d5785aad8cb8033eaaccc09821f2 Mon Sep 17 00:00:00 2001 From: Cary Phillips Date: Thu, 15 Feb 2024 07:38:26 -0800 Subject: [PATCH] Fix version tag for sdist Signed-off-by: Cary Phillips --- .github/workflows/python-wheels-publish-test.yml | 2 ++ .github/workflows/python-wheels-publish.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/python-wheels-publish-test.yml b/.github/workflows/python-wheels-publish-test.yml index 6b46aef164..cef33e9cc6 100644 --- a/.github/workflows/python-wheels-publish-test.yml +++ b/.github/workflows/python-wheels-publish-test.yml @@ -43,6 +43,8 @@ jobs: - name: Create sdist # Only create it once. if: ${{ matrix.os == 'ubuntu-latest' }} + env: + OPENEXR_RELEASE_CANDIDATE_TAG: ${{ github.ref_name }} run: pipx run build --sdist . --outdir wheelhouse - name: Build wheel diff --git a/.github/workflows/python-wheels-publish.yml b/.github/workflows/python-wheels-publish.yml index 2330847df3..6cd13a192d 100644 --- a/.github/workflows/python-wheels-publish.yml +++ b/.github/workflows/python-wheels-publish.yml @@ -39,6 +39,8 @@ jobs: - name: Create sdist # Only create it once. if: ${{ matrix.os == 'ubuntu-latest' }} + env: + OPENEXR_RELEASE_CANDIDATE_TAG: ${{ github.ref_name }} run: pipx run build --sdist . --outdir wheelhouse - name: Build wheel