diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index 21a11cccc6d..5074ed2acfe 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -44,7 +44,9 @@ jobs: validate_beta_version "${{ inputs.candidate-beta }}" "candidate-beta" validate_beta_version "${{ inputs.current-beta }}" "current-beta" - validate_stable_version "${{ inputs.candidate-stable }}" "candidate-stable" + if [[ ! -z "${{ inputs.candidate-stable }}" ]]; then + validate_stable_version "${{ inputs.candidate-stable }}" "candidate-stable" + fi validate_stable_version "${{ inputs.current-stable }}" "current-stable" shell: bash