Both Maven and Ant have simple methods of incrementing this number. Ensuring that each build has a unique version number by incrementing the Build ID allows us to distinguish between builds, as no two builds of the same project will have the same BuildID. The other numbers are changed manually, as and when required.
Major Version — Typically changes when there are very large changes to product or project, such as after a rewrite, or a significant change to functionality. Release Version — Incremented when there is an official release of a project which is not considered a Major Version change. For example, we may plan to release a project to a customer in 2 or 3 separate releases.
These releases may well represent the same major version say version 5 but we would still like to be able to identify the fact that these are subsequent planned releases, and not patches.
Patch Number — This denotes a patch to an existing release. The release that is being patched is reflected in the Release Version. This ensures that each build has a unique version number. This is the first patch release, and happens to be the 2 nd build of that patch. I think you should swap around the patch and the build numbers — just my personal preference. Think about it, 1 patch may take a few builds before it passes all environments, oh shoot it worked for jetty but not websphere, tweak config X and rebuild!
You are commenting using your WordPress. You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. Home About My Blog. When to Change Versions: Major Version — Typically changes when there are very large changes to product or project, such as after a rewrite, or a significant change to functionality Release Version — Incremented when there is an official release of a project which is not considered a Major Version change.
It is the 9 th build of this release. This is the first build of Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in: Email Address never made public.More...