From 10543f823a4fe746728f08370921740c247d817d Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Tue, 24 Sep 2024 08:20:27 +0200 Subject: [PATCH] Fix getting commit sha from latest tag in Bump Internal Release --- .github/workflows/bump_internal_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump_internal_release.yml b/.github/workflows/bump_internal_release.yml index 2014efd0de..670cb3323b 100644 --- a/.github/workflows/bump_internal_release.yml +++ b/.github/workflows/bump_internal_release.yml @@ -73,7 +73,7 @@ jobs: echo "skip-release=false" >> $GITHUB_OUTPUT else latest_tag="$(git describe --tags --abbrev=0)" - latest_tag_sha="$(git rev-parse "$latest_tag")" + latest_tag_sha="$(git rev-parse "$latest_tag"^{})" release_branch_sha="$(git rev-parse "origin/${release_branch}")" if [[ "${latest_tag_sha}" == "${release_branch_sha}" ]]; then