Skip to content

Commit d0f351b

Browse files
author
“shaun-nx”
committed
Update script logic for validating tag
1 parent e0e4846 commit d0f351b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ docker_tag=edge
66

77
commit_tag=$(git tag --contains ${git_commit})
88

9-
if [[ ${commit_tag} == ${git_tag} ]]; then
9+
if [[ ${commit_tag} == *${git_tag}* ]]; then
1010
# we're on the tag, use the docker image for the tag
1111
docker_tag=${git_tag//v/}
1212
echo ${docker_tag}

0 commit comments

Comments
 (0)