From 6484b6a1a8151e5586c922d0c8601529649f0be9 Mon Sep 17 00:00:00 2001 From: NicolasMerget Date: Mon, 9 Oct 2023 22:44:32 +0200 Subject: [PATCH] fix: issue with wrong version for push to master --- .github/workflows/get_version.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"