diff --git a/.github/workflows/get_version.yml b/.github/workflows/get_version.yml index 3b22f1ed..cc5694d0 100644 --- a/.github/workflows/get_version.yml +++ b/.github/workflows/get_version.yml @@ -23,7 +23,7 @@ jobs: - name: 🏷 Get and set godot version id: version run: | - VERSION="${{ github.event.pull_request.base.ref || github.base_ref || github.event.release.target_commitish }}" + VERSION="${{ github.event.pull_request.base.ref || github.event.release.target_commitish || github.ref_name }}" if [[ $VERSION == "master" ]]; then VERSION="$MASTER_VERSION" echo "We are overwrite master to latest rc version: $VERSION"