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
adamralph
changed the title
Cannot set auto-increment to patch in the CLI tool when the env var is set to something else
Cannot set auto-increment to patch in the command-line tool when the env var is set to something else
Mar 5, 2022
Version(s)
To reproduce
Steps to reproduce the behaviour:
1.0.0
MinVerAutoIncrement
env var toMinor
(orMajor
)minver
with--auto-increment patch
Expected behaviour
The calculated version is
1.0.1-alpha.0.1
.Actual behaviour
The calculated version is
1.1.0-alpha.0.1
(or2.0.0-alpha.0.1
if theMinVerAutoIncrement
env var is set toMajor
).Workarounds
Unset the
MinVerAutoIncrement
instead of overriding it with--auto-increment patch
.Additional context
n/a
The text was updated successfully, but these errors were encountered: