From 73a7d41d67e1a0fb6ff0505df61e725e66df1e35 Mon Sep 17 00:00:00 2001 From: Nicolas Merget <104347736+nmerget@users.noreply.github.com> Date: Mon, 9 Oct 2023 22:46:32 +0200 Subject: [PATCH] fix: issue with wrong version for push to master (#172) --- .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"