You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Existence of prerelease in input version is causing inc-major, inc-minor, and inc-patch to not increment. See below for two runs, one with version 'v1.0.0' and one with 'v1.0.0-0.12'
Run madhead/semver-utils@v4
with:
lenient: false
version: v1.0.0
The text was updated successfully, but these errors were encountered:
buddhamangler-cbre
changed the title
Prerelease is causing some inc- outputs to be incorrect
Prerelease is causing some inc- outputs to not increment
Feb 23, 2024
Existence of prerelease in input version is causing inc-major, inc-minor, and inc-patch to not increment. See below for two runs, one with version 'v1.0.0' and one with 'v1.0.0-0.12'
Run madhead/semver-utils@v4
with:
lenient: false
version: v1.0.0
{
release: 1.0.0,
major: 1,
minor: 0,
patch: 0,
inc-major: 2.0.0, <<<<< incremented correctly
inc-premajor: 2.0.0-0,
inc-minor: 1.1.0, <<<<< incremented correctly
inc-preminor: 1.1.0-0,
inc-patch: 1.0.1, <<<<< incremented correctly
inc-prepatch: 1.0.1-0,
inc-prerelease: 1.0.1-0
}
Run madhead/semver-utils@v4
with:
lenient: false
version: v1.0.0-0.12
{
release: 1.0.0,
major: 1,
minor: 0,
patch: 0,
inc-major: 1.0.0, <<<<< not incremented
inc-premajor: 2.0.0-0,
inc-minor: 1.0.0, <<<<< not incremented
inc-preminor: 1.1.0-0,
inc-patch: 1.0.0, <<<<< not incremented
inc-prepatch: 1.0.1-0,
inc-prerelease: 1.0.0-0.13,
prerelease: 0.12,
prerelease-parts: 2,
prerelease-0: 0,
prerelease-1: 12
}
The text was updated successfully, but these errors were encountered: