fix(increase-version): simplify script with new image
This commit is contained in:
parent
ed5b4b788a
commit
649fa625db
@ -1,22 +1,14 @@
|
||||
.set-version:
|
||||
stage: set-version
|
||||
image: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-increase-version-tool:2.1.1
|
||||
image: gitlab.exxcellent.de:4567/gilden/ci/exxcellent-increase-version-tool:2.2.0
|
||||
variables:
|
||||
BUMP_VERSION: "major"
|
||||
PREFIX: ""
|
||||
OUTPUT: version
|
||||
SIMPLIFY: "false"
|
||||
TAG: "false"
|
||||
script:
|
||||
- >
|
||||
if [ "${PREFIX}" != "" ]; then
|
||||
if [ "${SIMPLIFY} == "true" ]; then
|
||||
gen-push --version $BUMP_VERSION --tag "false" --prefix $PREFIX --simplify > $OUTPUT
|
||||
else
|
||||
gen-push --version $BUMP_VERSION --tag "false" --prefix $PREFIX > $OUTPUT
|
||||
fi
|
||||
else
|
||||
gen-push --version $BUMP_VERSION --tag "false" > $OUTPUT
|
||||
fi
|
||||
- increase-version
|
||||
artifacts:
|
||||
paths:
|
||||
- $OUTPUT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user