Merge branch 'feat/branching_fixes' into 'master'
Feat/branching fixes See merge request gilden/ci/gitlab-ci-templates!12
This commit is contained in:
commit
70f0f24b5d
@ -11,6 +11,7 @@ include:
|
||||
|
||||
variables:
|
||||
BUMP_VERSION: "major"
|
||||
MODE: "bump"
|
||||
|
||||
increase-version:
|
||||
stage: set-version
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user