Optum / semver-cli

Apache License 2.0
8 stars 1 forks source link

bug: docker image tags don't support the `+` by default #8

Closed justinmchase closed 1 year ago

justinmchase commented 1 year ago

Bug Report

Similar to #2, if you attempt to use the full semantic version as a docker image tag it will throw an error because the + is an invalid character.

As a workaround for anyone encountering this in the meantime you will be able to do a replacement in bash before creating the image:

DOCKER_VERSION=$(echo -e "$SEMANTIC_VERSION" | sed -e 's/[+]/-/g')