I use this rule for my applications:
x.y.z
Where:
- x = main version number, 1-~.
- y = feature number, 0-9. Increase this number if the change contains new features with or without bug fixes.
- z = hotfix number, 0-~. Increase this number if the change only contains bug fixes.
Example:
- For new application, the version number starts with 1.0.0.
- If the new version contains only bug fixes, increase the hotfix number so the version number will be 1.0.1.
- If the new version contains new features with or without bug fixes, increase the feature number and reset the hotfix number to zero so the version number will be 1.1.0. If the feature number reaches 9, increase the main version number and reset the feature and hotfix number to zero (2.0.0 etc)