mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-05-23 22:30:51 -05:00
Add support for pre-release versions #131
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 @KevinGhadyani-minted on GitHub (Sep 14, 2021).
I'm not seeing anything about the
-alpha,-beta, or-rcpre-release versions in Conventional Commits. These are part of SemVer v2: https://semver.org/ and would be fantastic to have available when working in a library.Is it possible to add this to Conventional Comments as
v1.1.0orv2.0.0?@damianopetrungaro commented on GitHub (Sep 28, 2021):
Nice idea @KevinGhadyani-minted !
@bcoe do we wanna invest in this?
I think it could be a cool solution for a few issues we had in the past asking for pre-first release commit or similar.
@KevinGhadyani-minted commented on GitHub (Nov 15, 2021):
This is what we have now in Conventional Commits 1.0.0:
These are my proposed additions:
I have not added any specifications for meta data such as
0.0.0.alpha.1+exp.sha.5114f85, but that could possibly be handed by the scope or by some other way to identify meta data.From Semantic Versioning 2.0.0:
Since I've coded my own implementation of Conventional Commits using the
semverpackage on npm, I'm going to be implementing this in my own project. If we want to change my proposal, please post in here so I can change mine to match the official spec.@marksy commented on GitHub (Oct 18, 2022):
Nice one @KevinGhadyani-minted this is what I'm looking for too.
I wonder if bracketing the release type, similar to scope, would be easier to read/parse?
type(scope)[release_type]: titleso for example:feat(navigation)[alpha]: new style of navigation===v0.1.0-alpha.0fix(navigation)[beta]: navigation keyboard issue===v0.1.1-beta.0docs(navigation)[rc]: how to use the new navigation===v1.0.0-rc.0