There are different ways to version applications.
Let's discuss these most popular solutions, which can be applied together with the Continuous Delivery process (when each commit creates a new version).
- Semantic versioning: The most popular solution is to use sequence-based identifiers (usually in the form of x.y.z). This method requires a commit to the repository done by Jenkins in order to increase the current version number, which is usually stored in the build file. This solution is well supported by Maven, Gradle, and other build tools. The identifier usually consists of three numbers:
- x: This is the major version; the software does not need to be backward-compatible when this version is incremented
- y: This ...