Skip to content

Commit

Permalink
Fix release task order
Browse files Browse the repository at this point in the history
  • Loading branch information
Larusso committed May 5, 2021
1 parent 473fd82 commit 059659e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,6 @@ signing {
postRelease.dependsOn(tasks.publish)

afterEvaluate {
tasks."final".dependsOn(tasks.publishToSonatype, tasks.closeAndReleaseSonatypeStagingRepository)
tasks."candidate".dependsOn(tasks.publishToSonatype, tasks.closeAndReleaseSonatypeStagingRepository)
tasks.publishToSonatype.mustRunAfter(tasks.postRelease)
tasks."release".dependsOn(tasks.publishToSonatype, tasks.closeAndReleaseSonatypeStagingRepository)
tasks.closeSonatypeStagingRepository.mustRunAfter(tasks.publishToSonatype)
tasks.publish.mustRunAfter(tasks.release)
}

0 comments on commit 059659e

Please sign in to comment.