nebula-release-plugin icon indicating copy to clipboard operation
nebula-release-plugin copied to clipboard

Invalid branch (release/6.0.x) for nearest normal (2.x.x)

Open codewode opened this issue 7 years ago • 0 comments

I have custom assigned version to release branch, let's say release/6.0.x has v2.0.0, every subsequent build gets a minor version using -Prelease.scope=minor that bumps up to next version i.e, v.2.1.0. However, using IntelliJ, when I run my spring boot application using the play button, I get error

* What went wrong:
A problem occurred configuring project ':impl'.
> Could not resolve all dependencies for configuration ':impl:classpath'.
   > Invalid branch (release/6.0.x) for nearest normal (2.3.0).

I can use terminal to run the application, but I don't want to run the command manually

./gradlew bootRun -Prelease.scope=minor

I am trying to extend some of the gradle task, for example bootRun using bootRun{ jvmArgs = ["-Prelease.useLastTag=true final"] }

but that also not works, any leads to this will be appreciated.

codewode avatar Apr 02 '19 14:04 codewode