-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maintained version is not bumped as expected #86
Comments
Hi @ido-namely, the maintained version feature is to keep releases in a certain version range. As you pass a version range with a prerelease value ( |
I have a similar but slightly different issue, In my case, if the tag 1.x.x-rc.1 already exist and when we specify
I thought the actual behavior was to bump up version from Is it possible to ignore if the release already exists and pass the command with exit code 0 ? |
I'm using the
--maintained-version
flag with initial value of2-rc
/usr/local/bin/semantic-release --provider-opt "slug=<repo-name>" --no-ci -f --allow-no-changes --prerelease --maintained-version "2-rc"
Expected behavior:
The newly created version is
2.1.0-rc
.Actual behavior:
The newly created version is
2.0.0-rc.1
.I tried flipping the order and use
rc-2
, but that is an illegal format according to the command:Thanks!
The text was updated successfully, but these errors were encountered: