27 lines
721 B
Plaintext
27 lines
721 B
Plaintext
:sourcedir: ../../../
|
|
|
|
= set-version-template
|
|
|
|
This template provides the job for increasing the tag version.
|
|
For more details look at https://gitlab.exxcellent.de/gilden/ci/exxcellent-increase-version-tool[Gilde CI/CD: exxcellent-increase-version-tool].
|
|
|
|
|
|
.Variables
|
|
|===
|
|
|Name |Description | Default Value
|
|
|BUMP_VERSION | defines the version bump | "major"
|
|
|PREFIX | the prefix for the tag | ""
|
|
|OUTPUT | defines where the updated version is written to | version
|
|
|SIMPLIFY
|
|
a|
|
|
* "false":
|
|
** use semver version number. e.g: 1.2.3+build.6
|
|
* "true":
|
|
** use more traditional version number. e.g: 1.2.3.6 | "false"
|
|
|===
|
|
|
|
.set-version-template
|
|
[source, yaml]
|
|
----
|
|
include::{sourcedir}/set-version-template.gitlab-ci.yml[]
|
|
---- |