mirror of
https://github.com/semver/semver.git
synced 2026-07-11 06:53:03 -05:00
[PR #519] [RFC] New post release syntax / change for build metadata syntax #2553
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?
📋 Pull Request Information
Original PR: https://github.com/semver/semver/pull/519
Author: @sylr
Created: 5/28/2019
Status: 🔄 Open
Base:
master← Head:post-release-syntax📝 Commits (2)
f4a44b3New post release syntax / change for build metadata syntax8aa510aMerge branch 'master' into post-release-syntax📊 Changes
1 file changed (+26 additions, -8 deletions)
View changed files
📝
semver.md(+26 -8)📄 Description
A post release syntax is useful for hot fix versions and for people maintaining patch sets on top of official versions that did not make it to the official release (whether is hasn't made the cut or because it has been refused).
According to me the most logical syntax for post-release is to use the
+sign. As it is already used for build metadata in v2.0.0 I'm suggesting to change build metadata separtor to the~sign.Example:
1.15.3+patchset.1~go1.11,1.15.3+patchset.1~go1.12Real life example:
linux-4.4.190+rt.187-> linux kernel 4.4.190 with RT patch version 187.The downside of this is that would be a breaking change.
EDIT: Change example to use
patchsetinstead ofhotfixwhich is confusing as hotfix automatically yields patch version increment (one quickly forgets that this RFC aims to enabled non official releases from people who needs to manage their own patch sets).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.