[GH-ISSUE #704] [Question] What if two variations of versions will merge and build system will change? #1343

Closed
opened 2026-04-16 10:43:28 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @0ank on GitHub (May 26, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/704

I have two variations of the same version: 0.1.0-beta+verbose and 0.1.0-beta+noverbose. That with verbose build metadata logs verbose information and one with noverbose doesn't.
After this pre-releases I added new commandline option --log, which enables functionality of verbose variation and I want to create a merged version. Additionally, I changed build system from GNU Make and MinGW Make to CMake.

What version I have to bump in semver? Major or minor?

Originally created by @0ank on GitHub (May 26, 2021). Original GitHub issue: https://github.com/semver/semver/issues/704 I have two variations of the same version: `0.1.0-beta+verbose` and `0.1.0-beta+noverbose`. That with `verbose` build metadata logs verbose information and one with `noverbose` doesn't. After this pre-releases I added new commandline option `--log`, which enables functionality of `verbose` variation and I want to create a merged version. Additionally, I changed build system from GNU Make and MinGW Make to CMake. What version I have to bump in semver? Major or minor?
Author
Owner

@ljharb commented on GitHub (May 26, 2021):

Those are all prereleases - the next non-prerelease version is based on whatever the differences are between it and the last non-prerelease version.

<!-- gh-comment-id:848840467 --> @ljharb commented on GitHub (May 26, 2021): Those are all prereleases - the next non-prerelease version is based on whatever the differences are between it and the last non-prerelease version.
Author
Owner

@0ank commented on GitHub (May 26, 2021):

But what if I have not any non-prerelease versions? 0.2.0 and never release version 0.1.0, or something different?

<!-- gh-comment-id:848863020 --> @0ank commented on GitHub (May 26, 2021): But what if I have not any non-prerelease versions? 0.2.0 and never release version 0.1.0, or something different?
Author
Owner

@ljharb commented on GitHub (May 26, 2021):

You can start at any version, or skip any version.

<!-- gh-comment-id:848864449 --> @ljharb commented on GitHub (May 26, 2021): You can start at any version, or skip any version.
Author
Owner

@0ank commented on GitHub (May 26, 2021):

Thank you.

<!-- gh-comment-id:848866550 --> @0ank commented on GitHub (May 26, 2021): Thank you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#1343