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
when I run nx run components:version --dryRun --trackDeps I get the bump from 0.1.1 to 1.0.0.
But when I run nx run components:version --dryRun --trackDeps --releaseAs prerelease --preid next I get the bump from 0.1.1 to 0.1.1-next.0, but shouldn't it be 1.0.0-next.0?
The text was updated successfully, but these errors were encountered:
Hi @iamstiil, the 0.1.1-next.0 is a correct prerelease version for 0.1.1. If you want to bump the version up to the next major version and down to a prerelease of that major version you can use --releaseAs premajor --preid next.
Similar comment.....if I have successfully created a pre-release version of e.g. 1.0.0-next.0, if I then bump with a --releaseAs premajor --preid next it tells me it cannot find the version tag and attempts to tag again as 1.0.0-next.0 which fails because the tag already exists.
But - if I were to use --releaseAs prerelease --preid next it will find the tag and generate it as 1.0.0-next.1 with no error.
And - If I were to use --releaseAs preminor --preid next I would expect it to bump to 1.1.0-next.0 but again it says it cannot find the tag and instead bumps it to 0.1.0-next.0. Which succeeds, but is not what I was expecting.
Hi,
when I run
nx run components:version --dryRun --trackDeps
I get the bump from0.1.1
to1.0.0
.But when I run
nx run components:version --dryRun --trackDeps --releaseAs prerelease --preid next
I get the bump from0.1.1
to0.1.1-next.0
, but shouldn't it be1.0.0-next.0
?The text was updated successfully, but these errors were encountered: