diff --git a/push-tag-and-version-template.gitlab-ci.yml b/push-tag-and-version-template.gitlab-ci.yml index 5b05190..d23414f 100644 --- a/push-tag-and-version-template.gitlab-ci.yml +++ b/push-tag-and-version-template.gitlab-ci.yml @@ -14,7 +14,7 @@ - echo $VERSION - pull - echo $VERSION > $ARTIFACT - - curl https://img.shields.io/badge/Version-$VERSION-green.svg --output $ARTIFACT.svg + - curl https://img.shields.io/static/v1?label=Version-&message=$VERSION&color=green --output $ARTIFACT.svg - > if [ "${MVN_VERSION}" == "true" ]; then mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false