diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b25ebcf31c2..6a844c5bb33 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,10 +40,8 @@ jobs: shell: bash env: VERSION: ${{ github.event.inputs.version }} - SOURCE_BRANCH: ${{ github.event.inputs.sourceBranch }} run: | version="$VERSION" - sourceBranch="$SOURCE_BRANCH" if [[ "$version" != 2.* ]]; then echo "The version input '$version' is invalid. This workflow only supports versions starting with '2.'." exit 1