Skip to content
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

Auto Bump default version doesn't work for non-interactive release #426

Open
alexserdukov opened this issue Sep 17, 2024 · 0 comments
Open

Comments

@alexserdukov
Copy link

I am trying to apply plugin to my build.
The setup is pretty basic:

version.sbt:
ThisBuild / version := "0.1.0-SNAPSHOT"

plugins.sbt:
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0")

First release went fine:
Release version was set to 0.1.0 from 0.1.0-SNAPSHOT
Next version was set to 0.1.1-SNAPSHOT
image
image

But on subsequent release it set the version to 0.1.0 instead of 0.1.1
image
image

Documentation says the following:
Release Version: current version without the qualifier (eg. 1.2-SNAPSHOT -> 1.2)

Why the version was changed from 0.1.1-SNAPSHOT to 0.1.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant