We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d2c339 + ff59837 commit 8624794Copy full SHA for 8624794
entrypoint.sh
@@ -28,7 +28,7 @@ echo -e "\tTAG_CONTEXT: ${tag_context}"
28
echo -e "\tPRERELEASE_SUFFIX: ${suffix}"
29
echo -e "\tVERBOSE: ${verbose}"
30
31
-current_branch=$(git rev-parse --abbrev-ref HEAD)
+current_branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
32
33
pre_release="true"
34
IFS=',' read -ra branch <<< "$release_branches"
0 commit comments