Skip to content
Snippets Groups Projects
Commit 53e837e3 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'fix-unhandled-colons' into 'master'

fix: handle multiple colons in docker image

Closes #65

See merge request to-be-continuous/docker!94
parents ab95e2e0 35e1b522
Branches
Tags
No related merge requests found
......@@ -843,7 +843,7 @@ docker-publish:
log_warn "[semantic-release] no new version to release: skip"
exit 0
else
DOCKER_RELEASE_IMAGE=$(echo "$DOCKER_RELEASE_IMAGE" | sed "s/\(:.*\)\{0,1\}$/:$SEMREL_INFO_NEXT_VERSION/")
DOCKER_RELEASE_IMAGE="${DOCKER_RELEASE_IMAGE%:*}:$SEMREL_INFO_NEXT_VERSION"
log_info "[semantic-release] new Image tag is set: $DOCKER_RELEASE_IMAGE"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment