From d2ed8b4baa79007b309f605bb1bca23086e1e5d2 Mon Sep 17 00:00:00 2001 From: Pavel Kirilin Date: Thu, 26 Mar 2026 13:28:22 +0100 Subject: [PATCH] Fixed release workflow. --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 35cda51..719dee0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,7 +32,7 @@ jobs: python-version: 3.x - name: Setting correct version run: | - python scripts/bump_version.py "${{ github.ref_name }}" + python scripts/bump_version.py "${{ github.event.release.tag_name }}" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -77,7 +77,7 @@ jobs: python-version: 3.x - name: Setting correct version run: | - python scripts/bump_version.py "${{ github.ref_name }}" + python scripts/bump_version.py "${{ github.event.release.tag_name }}" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -126,7 +126,7 @@ jobs: architecture: ${{ matrix.platform.python_arch }} - name: Setting correct version run: | - python scripts/bump_version.py "${{ github.ref_name }}" + python scripts/bump_version.py "${{ github.event.release.tag_name }}" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -162,7 +162,7 @@ jobs: python-version: 3.x - name: Setting correct version run: | - python scripts/bump_version.py "${{ github.ref_name }}" + python scripts/bump_version.py "${{ github.event.release.tag_name }}" - name: Build wheels uses: PyO3/maturin-action@v1 with: @@ -190,7 +190,7 @@ jobs: python-version: 3.x - name: Setting correct version run: | - python scripts/bump_version.py "${{ github.ref_name }}" + python scripts/bump_version.py "${{ github.event.release.tag_name }}" - name: Build sdist uses: PyO3/maturin-action@v1 with: