My understanding of the SemVer release cycle is as follows:
- My first release is going to be 0.1.0-alpha.1
- I may make a few tweaks and re-release at 0.1.0-alpha.2 (repeat as needed)
- When ready, I release 0.1.0-beta.1
- I may make a few tweaks and re-release at 0.1.0-alpha.2 (repeat as needed)
- When ready, I release into production: 1.0.0
Am I correct in keeping the same minor version throughout? The SemVer website hints at this (section 11, link below): "Example: 1.0.0-alpha < 1.0.0". This suggests that two versions of "1.0.0" can co-exist.
Or should I increment the minor/patch for each release, e.g.:
- 0.1.0-alpha.1
0.1.1-alpha.1
0.1.2-beta.1
0.2.0-beta.1
1.0.0
If that's the case, I don't get how to use the alpha.x or beta.x increments?
Ref: https://semver.org/