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
I have a Gradle Groovy based build script. The lines associated with the release plugin are:
buildscript { repositories { mavenCentral() } dependencies { classpath "net.researchgate:gradle-release:3.0.2" } } apply plugin: 'net.researchgate.release' // release always with a clean build beforeReleaseBuild.dependsOn clean
Since some versions of the release plugin (change to 3.x?) the build is not executed anymore. The following steps are executed:
Executing 'release'... > Task :xxx-release:createScmAdapter > Task :xxx-release:initScmAdapter > Task :xxx-release:checkCommitNeeded > Task :xxx-release:checkUpdateNeeded > Task :xxx-release:checkoutMergeToReleaseBranch SKIPPED > Task :xxx-release:unSnapshotVersion > Task :xxx-release:confirmReleaseVersion ??> This release version for xxx: [0.0.32] (WAITING FOR INPUT BELOW) > Task :release > Task :xxx-release:checkSnapshotDependencies > Task :xxx-release:xxx-release:clean > Task :xxx-release:xxx-release:beforeReleaseBuild > Task :xxx-release:xxx-release:afterReleaseBuild UP-TO-DATE > Task :xxx-release:runBuildTasks > Task :xxx-release:preTagCommit > Task :xxx-release:createReleaseTag > Task :xxx-release:checkoutMergeFromReleaseBranch SKIPPED > Task :xxx-release:updateVersion ??> Enter the next version (current one released as [0.0.32]): [0.0.33-SNAPSHOT] (WAITING FOR INPUT BELOW) > Task :xxx-release:commitNewVersion BUILD SUCCESSFUL in 1m 55s
You can see that clean is executed, but afterReleaseBuild shows UP-TO-DATE. Have I misunderstood something here? Thanks for your work!
The text was updated successfully, but these errors were encountered:
Even if the approach above worked earlier, it seems it was always wrong. Changed it to
// release always with a clean build release.buildTasks = ['clean', 'build']
and this works as desired.
Sorry, something went wrong.
No branches or pull requests
I have a Gradle Groovy based build script. The lines associated with the release plugin are:
Since some versions of the release plugin (change to 3.x?) the build is not executed anymore. The following steps are executed:
You can see that clean is executed, but afterReleaseBuild shows UP-TO-DATE. Have I misunderstood something here?
Thanks for your work!
The text was updated successfully, but these errors were encountered: