We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Nebula release plugin version 16.1.0. Gradle version 7.5.1.
16.1.0
7.5.1
Our project is on branch release/2.0.x, branched from tag v2.0.0.
release/2.0.x
v2.0.0
When I run ./gradlew publish final from my local machine I get:
./gradlew publish final
Inferred project: fun-project, version: 2.0.1
This is the correct and expected version.
In Gitlab, I have the following settings:
GIT_FETCH_EXTRA_FLAGS: --tags --prune --prune-tags GIT_DEPTH: "0"
This, according to the Gitlab documentation, clones the full depth of the repo, and fetches tags.
And the tags are getting pulled because I can see this in the logs:
* [new branch] develop -> origin/develop * [new branch] master -> origin/master * [new branch] release/2.0.x -> origin/release/2.0.x * [new tag] v2.0.0 -> v2.0.0 * [new tag] v2.0.0-SNAPSHOT -> v2.0.0-SNAPSHOT
As can be seen, the tag v2.0.0 comes in with the clone. But yet, when the final task runs on Gitlab, it derives the incorrect version:
final
Inferred project: fun-project, version: 2.1.0
This is the incorrect version per the previous tag and the current branch name.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Nebula release plugin version
16.1.0
.Gradle version
7.5.1
.Our project is on branch
release/2.0.x
, branched from tagv2.0.0
.When I run
./gradlew publish final
from my local machine I get:Inferred project: fun-project, version: 2.0.1
This is the correct and expected version.
In Gitlab, I have the following settings:
This, according to the Gitlab documentation, clones the full depth of the repo, and fetches tags.
And the tags are getting pulled because I can see this in the logs:
As can be seen, the tag
v2.0.0
comes in with the clone. But yet, when thefinal
task runs on Gitlab, it derives the incorrect version:This is the incorrect version per the previous tag and the current branch name.
The text was updated successfully, but these errors were encountered: