From 8e4e07023483b1ff685d397597d7d182c24ea31d Mon Sep 17 00:00:00 2001 From: Wolfram Gulde Date: Tue, 13 Jul 2021 10:17:37 +0200 Subject: [PATCH] feat(Branching): change badge to support prerelease --- push-tag-and-version-template.gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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