mirror of
https://github.com/semver/semver.git
synced 2026-07-11 05:12:48 -05:00
Semantic version increase by patch even if is hotfix #582
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 @misecca on GitHub (Mar 24, 2023).
Actual situation:
@ljharb commented on GitHub (Mar 24, 2023):
There's no such thing as a hotfix in semver. 0.1.0 is fixed with 0.1.1.
@jwdonahue commented on GitHub (Apr 4, 2023):
Commits should not generate SemVer tags. Revision control systems already have there own way of versioning what's in them. Adding version information in a commit is faulty design and will not scale. Build/package/release systems generate SemVer versionable artifacts, if those artifacts are universally unique per version string (hard to do at scale, but do-able). Whether such systems label the repo hash with the generated version of the artifact(s) created from it, is a matter of taste, but there can be multiple unique artifacts for any given repo content hash, so you're concept of version labels on commits is broken.
@steveklabnik commented on GitHub (Apr 6, 2023):
This is correct, yes.