Skip to content

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

@alexserdukov

Description

@alexserdukov

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions