diff --git a/pipelines/update-version-pipeline.gitlab-ci.yml b/pipelines/update-version-pipeline.gitlab-ci.yml index e8db94a..9466f32 100644 --- a/pipelines/update-version-pipeline.gitlab-ci.yml +++ b/pipelines/update-version-pipeline.gitlab-ci.yml @@ -11,6 +11,7 @@ include: variables: BUMP_VERSION: "major" + MODE: "bump" increase-version: stage: set-version diff --git a/push-tag-and-version-template.gitlab-ci.yml b/push-tag-and-version-template.gitlab-ci.yml index f1700ff..0aa90f1 100644 --- a/push-tag-and-version-template.gitlab-ci.yml +++ b/push-tag-and-version-template.gitlab-ci.yml @@ -12,7 +12,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" -o $ARTIFACT.svg - > if [ "${MVN_VERSION}" == "true" ]; then mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false diff --git a/set-version-template.gitlab-ci.yml b/set-version-template.gitlab-ci.yml index decb960..00056ae 100644 --- a/set-version-template.gitlab-ci.yml +++ b/set-version-template.gitlab-ci.yml @@ -1,12 +1,13 @@ .set-version: stage: set-version - image: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-increase-version-tool:2.2.0 + image: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-increase-version-tool:3.0.0 variables: BUMP_VERSION: "major" PREFIX: "" OUTPUT: version SIMPLIFY: "false" TAG: "false" + MODE: "bump" script: - increase-version artifacts: