Skip to content

Commit

Permalink
build: Fix publication to OSSRH
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Dec 27, 2021
1 parent 74ef18f commit f9fb3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/commons.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kotlinCompile {
publishing {
repositories {
if (isRunningOnCi) githubPackages("RedMadRobot/gradle-infrastructure")
if (isReleaseVersion && credentialsExist("ossrh")) ossrh()
if (isReleaseVersion && credentialsExist("ossrh")) ossrh(host = OssrhHost.LEGACY)
}
}

Expand Down

0 comments on commit f9fb3d2

Please sign in to comment.