How does semantic versioning work for alpha/beta/pre-release version numbers? I would want 1.0 to be the "production" ready version, but still increment version numbers following the spec, maybe 0.1.0-alpha.1.0.0 then 0.1.0-alpha.1.1.0 etc?

#semver #semanticversioning #programming

@SeanOMik
That may depend on which definition of "semantic versioning" your using.

Here is one option: https://semver.org/

Semantic Versioning 2.0.0

Semantic Versioning spec and website

Semantic Versioning
@nbathum that's what I was looking at. It defines the format I said above, but what about the restrictions placed on the "-alpha.x". Should I treat it as "-alpha.x.y.z" and have the alpha xyz restricted the same as the main version numbers?

@SeanOMik
Sure you could if that suits your purposes.

Do you anticipate needing to make many 'pre-release' builds in your project?