Semantic versioning
In any project you start, you should use semantic versioning on your master branch. Semantic versioning is a set of rules you can follow to tag the code of your application in your versioning control software. By following these rules, you will know the current status of your production environment at any moment. Another benefit of using tags in your code is that it allow us to move between versions or do roll backs in an easy and quick way.
Another advantage of having your source code with release tags is that it allows you to work with release branches, allowing you to have better planification and control of the changes you are making to your code.
How semantic versioning works
On semantic versioning, your code is marked with tags with the
vX.Y.Z
form, which means the version of your code. Each piece of your tag means something:
- X (major):Â An increase in this version number indicates that there are big changes in place; they are important enough to be incompatible...