diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edc7cc5bc3..7fecf73da7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - ref: ${{ github.event.inputs.release_tag == '' || github.ref_name }} + ref: ${{ github.event.inputs.release_tag == '' && github.event.inputs.release_tag || github.ref_name }} - name: Fetch all tags run: |