Contains reusable workflows which can be used across projects to ease release of projects under the Gluon umbrella.
Updates Maven project version with the release version by removing -SNAPSHOT
from the project's pom.xml
.
It commits back the pom.xml
to the repository with a commit Release vX.X.X
and tags the commit with X.X.X
.
Input | Default | Description |
---|---|---|
buildDir | current directory | Maven build directory |
depProperty | Property name to be updated with new release version. Mostly used in samples projects. | |
depDirectory | project directory containing the pom.xml to be updated with new release version i.e. samples project path. |
Output | Default | Description |
---|---|---|
tag | Release version of the project |
Does the following:
- Creates a Github release with release notes
- Updates Maven project version with the next development version.
The next development version can be passed to the workflow explicitly.
Otherwise, it will be calculated by incrementing the minor version the project version.
It then adds
-SNAPSHOT
to the next development version. It commits back thepom.xml
to the repository with a commitPrepare development of X.X.X
. - If both
depProperty
anddepDirectory
is provided, then it will also increment the dependency to the next development version.
Input | Default | Description |
---|---|---|
nextVersion | calculated from pom.xml | Next development version without "SNAPSHOT" |
buildDir | current directory | Maven build directory |
depProperty | Property name to be updated with new release version. Mostly used in samples projects. | |
depDirectory | project directory containing the pom.xml to be updated with new release version i.e. samples project path. | |
tag | release tag to checkout | |
release | true | Create Github Release |