...

/

Controlling Release Versioning from Jenkins X Pipelines

Controlling Release Versioning from Jenkins X Pipelines

This lesson shows how to control the release versioning from the Jenkins X pipelines.

Adding the VERSION variable in the Makefile

One way to take better control of versioning is to add the variable VERSION to the project’s Makefile.

Please open it in your favorite editor and add the snippet that follows as the first line.

Press + to interact
VERSION := 1.0.0

⚠️ Just as before, do not use 1.0.0 blindly. Make sure that the major version is higher than the current version.

If we execute jx-release-version, the output would be 1.0.0 (or whatever value was put into the Makefile). We won’t do that because we do not have ...