Skip to content

Commit d754d3a

Browse files
authored
[chore] fix release-branch script (#13096)
This script was referencing an env var that wasn't set anywhere Fixes #13095 Signed-off-by: Alex Boten <[email protected]>
1 parent 2353b75 commit d754d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/scripts/release-branch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ elif [[ -n "$BRANCH_EXISTS_REMOTELY" ]]; then
6565
exit 0
6666
else
6767
echo "Release branch '${RELEASE_BRANCH_NAME}' not found locally or on remote."
68-
git switch -c "${RELEASE_BRANCH_NAME}" "${TARGET_MAIN_STATE_COMMIT}"
68+
git switch -c "${RELEASE_BRANCH_NAME}" "${PREPARE_RELEASE_COMMIT_HASH}"
6969
fi
7070

7171
echo "Current branch is now '${RELEASE_BRANCH_NAME}'."

0 commit comments

Comments
 (0)