This repository is built into tools which themselves are used during a Galasa build.
Use the ./build-locally.sh --help
to get a description of the required parameters and environment variables.
$galasabld versioning list --sourcefolderpath {my-source-folder}
a.b.c. 0.21.0
a.b.d. 0.25.0-SNAPSHOT
To find a module version, the code must:
- have a build.gradle file
- have a settings.gradle file
- the build.gradle file must have a line like
version = "0.1.2"
or similar. - the settings.gradle file must have a line like
rootProject.name = "dev.galasa.examples/module2"
.
$galasabld versioning suffix set --sourcefolderpath {my-source-folder} --suffix "-alpha"
This will recursively look for module versions, stripping off any existing suffix, and adding the -alpha
suffix to everything.
Note: The value of the --suffix
parameter must start with -
or _
So for example, 0.0.1
will be changed to 0.0.1-alpha
if -alpha
is the suffix value.
$galasabld versioning suffix remove --sourcefolderpath {my-source-folder}
This will recursively look for module versions, stripping off any existing suffix.
So for example, 0.0.1-SNAPSHOT
will be changed to 0.0.1