Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I just remembered -- using
-dev
this way results in suboptimal behaviour with SemVer. SemVer treats1.0.0-dev
as being a pre-release of1.0.0
-- meaning that the-dev
version is seen as "older". Another issue is that-dev
is not really a pre-release (and it's definitely not a pre-release of the previously-released version).In runc and umoci we use
+dev
because that matches the correct version order behaviour with rpm and most other tools (1.0.1 > 1.0.0+dev > 1.0.0
), though under SemVer1.0.0+dev == 1.0.0
(I don't think this is a problem for a specification though, but maybe that's just me).Maybe we should use
+dev
as well?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this is outlined in
RELEASES.md
. I will submit a PR to make the change for future releases.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1050.