mirror of
https://github.com/semver/semver.git
synced 2026-07-11 06:53:03 -05:00
[GH-ISSUE #128] How to deal with development versions after 1.0.0? #1815
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @schmunk42 on GitHub (Jul 1, 2013).
Original GitHub issue: https://github.com/semver/semver/issues/128
As we can use 0.x versions for initial development I asked myself how to deal with development versions for a 2.0.0 release?
@ericdobson commented on GitHub (Jul 1, 2013):
I'm still getting used to semantic versioning, so hopefully this will be correct and useful for you… I understand that the 0.x versions are somewhat of a free-for-all since as the spec says, "Anything may change at any time."
Once you're planning a 2.0.0 release, you can no longer use full version numbers (x.y.z) for unreleaseable versions. So my understanding is you'd use something like these version/build examples, adapted from sections 9 and 10 of the spec:
…or whatever fits your development process.
@haacked commented on GitHub (Jul 2, 2013):
Exactly what @EricDobson said. The pre-release identifier can be anything you want it to be. One common approach is to go through
alphabetaandrcreleases whererc==release candidate. Then when you're ready to release your RTM of2.0.0, you just remove the pre-release portion of the version.Example of one possible release schedule:
2.0.0-alpha.12.0.0-alpha.22.0.0-beta.12.0.0-beta.22.0.0-beta.32.0.0-rc2.0.0@schmunk42 commented on GitHub (Jul 2, 2013):
Thanks to both of you.