Skip to content

Commit

Permalink
fix publishing workflow (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Jul 25, 2024
1 parent e60e326 commit 0c6c6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ subprojects {
}
}
}
plugins.withType<MavenPublishPlugin>().configureEach {
the<MavenPublishBaseExtension>().apply {
afterEvaluate {
extensions.findByType<MavenPublishBaseExtension>()?.run {
val isReleaseBuild = properties["release"]?.toString().toBoolean()
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, false)
if (isReleaseBuild) signAllPublications()
Expand Down

0 comments on commit 0c6c6a6

Please sign in to comment.