mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #900] Naming of major or minor version numbers #2301
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 @gowizzard on GitHub (Nov 30, 2022).
Original GitHub issue: https://github.com/semver/semver/issues/900
Hello everyone, I have a small understanding question and wanted to clarify this here briefly. If I have a higher version number, should it be
major updateor rathermajor >? The same would intressieren me also for smaller version numbers, whether one should write nowminor downgradeorminor <.Maybe someone here can answer this question. Thank you in advance.
@ljharb commented on GitHub (Nov 30, 2022):
"major version", i'd say.
@gowizzard commented on GitHub (Nov 30, 2022):
Thank you, but what if I compare two versions? Then I would probably say major, minor or patch update. I have not found anything specific in the documentation.
Generally it's just about comparing different version numbers, which I implemented in a small project. I just want to make sure that my output is correct. Here you can find the example from my repository.
@ljharb commented on GitHub (Nov 30, 2022):
If you compare two versions, i'd just indeed say "major/minor/patch update", or "major/minor/patch downgrade" (altho downgrades don't really happen often).
I'd suggest looking into https://npmjs.com/semver for an npm-specific example of comparison and ranges.
@gowizzard commented on GitHub (Nov 30, 2022):
Okay, thank you! Then I have already installed the correct formulations.