diff --git a/.github/workflows/wheel_linux_aarch64.yml b/.github/workflows/wheel_linux_aarch64.yml index dca8b650e..bc21a5682 100644 --- a/.github/workflows/wheel_linux_aarch64.yml +++ b/.github/workflows/wheel_linux_aarch64.yml @@ -184,7 +184,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' with: @@ -202,7 +202,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_linux_aarch64_cuda.yml b/.github/workflows/wheel_linux_aarch64_cuda.yml index fb590f19e..4864fa016 100644 --- a/.github/workflows/wheel_linux_aarch64_cuda.yml +++ b/.github/workflows/wheel_linux_aarch64_cuda.yml @@ -107,7 +107,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' with: @@ -128,7 +128,7 @@ jobs: permissions: id-token: write if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_linux_x86_64.yml b/.github/workflows/wheel_linux_x86_64.yml index 30c82fb9f..92832fd0e 100644 --- a/.github/workflows/wheel_linux_x86_64.yml +++ b/.github/workflows/wheel_linux_x86_64.yml @@ -198,7 +198,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -217,7 +217,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_linux_x86_64_cuda.yml b/.github/workflows/wheel_linux_x86_64_cuda.yml index c76be71da..abd30c9c6 100644 --- a/.github/workflows/wheel_linux_x86_64_cuda.yml +++ b/.github/workflows/wheel_linux_x86_64_cuda.yml @@ -119,7 +119,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -141,7 +141,7 @@ jobs: permissions: id-token: write if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_macos_arm64.yml b/.github/workflows/wheel_macos_arm64.yml index 281e91089..0a6945c3c 100644 --- a/.github/workflows/wheel_macos_arm64.yml +++ b/.github/workflows/wheel_macos_arm64.yml @@ -126,7 +126,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' with: @@ -144,7 +144,7 @@ jobs: cibw_build: ${{ fromJson(needs.mac-set-matrix-arm.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_macos_x86_64.yml b/.github/workflows/wheel_macos_x86_64.yml index 30343ada1..ce247522a 100644 --- a/.github/workflows/wheel_macos_x86_64.yml +++ b/.github/workflows/wheel_macos_x86_64.yml @@ -184,7 +184,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -203,7 +203,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/.github/workflows/wheel_noarch.yml b/.github/workflows/wheel_noarch.yml index 50bf7f1d5..0414fcd7b 100644 --- a/.github/workflows/wheel_noarch.yml +++ b/.github/workflows/wheel_noarch.yml @@ -86,7 +86,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | matrix.pl_backend == 'lightning_qubit' && - (github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master') + (github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master') with: name: pure-python-wheels-${{ matrix.pl_backend }}.zip path: dist/*.whl @@ -102,7 +102,7 @@ jobs: steps: - uses: actions/download-artifact@v4 - if: ${{ matrix.pl_backend == 'lightning_qubit' && github.event_name == 'pull_request' }} + if: ${{ matrix.pl_backend == 'lightning_qubit' && github.event_name == 'release' }} with: name: pure-python-wheels-${{ matrix.pl_backend }}.zip path: dist diff --git a/.github/workflows/wheel_win_x86_64.yml b/.github/workflows/wheel_win_x86_64.yml index 4c6c5371a..d2464ce9c 100644 --- a/.github/workflows/wheel_win_x86_64.yml +++ b/.github/workflows/wheel_win_x86_64.yml @@ -206,7 +206,7 @@ jobs: - uses: actions/upload-artifact@v4 if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.event_name == 'workflow_dispatch' || github.ref == 'refs/heads/master' || steps.rc_build.outputs.match != '' @@ -225,7 +225,7 @@ jobs: cibw_build: ${{ fromJson(needs.set_wheel_build_matrix.outputs.python_version) }} runs-on: ubuntu-latest if: | - github.event_name == 'pull_request' || + github.event_name == 'release' || github.ref == 'refs/heads/master' steps: diff --git a/pennylane_lightning/core/_version.py b/pennylane_lightning/core/_version.py index b5d5a365d..ce245aae3 100644 --- a/pennylane_lightning/core/_version.py +++ b/pennylane_lightning/core/_version.py @@ -16,4 +16,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "0.39.0-rc7" +__version__ = "0.39.0"