Skip to content

Commit

Permalink
fix: force all signing tasks to run before the uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
DanySK committed Feb 17, 2023
1 parent 4afc614 commit b1458ed
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ private fun Project.configureNexusRepository(repoToConfigure: Repository, nexusU
publication.findSigningTaskIn(project).forEach {
uploadTask.dependsOn(it)
}
tasks.withType<Sign>().forEach {
uploadTask.mustRunAfter(it)
}
uploadTask.dependsOn(createStagingRepository)
uploadAllPublications.get().dependsOn(uploadTask)
closeStagingRepository.mustRunAfter(uploadTask)
Expand Down

0 comments on commit b1458ed

Please sign in to comment.