We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents def9596 + 4d57173 commit 17f01caCopy full SHA for 17f01ca
1 file changed
action.yml
@@ -54,7 +54,7 @@ runs:
54
# Convert the short hash to a numeric value
55
short_hash=$(printf "%08d" $((16#${sha:0:6})))
56
57
- if [[ "$ref" == *"main"* ]]; then
+ if [[ "$ref" == "refs/heads/main" ]]; then
58
# Main branch: keep the version as is
59
echo "$new_version"
60
else
0 commit comments