Skip to content

Commit c6d0dd0

Browse files
committed
Fix publishing
1 parent e99c396 commit c6d0dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bukkit-extension/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ publishing {
8888
maven {
8989
val releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
9090
val snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
91-
url = if (version.toString().endsWith("SNAPSHOT")) uri(snapshotsRepoUrl) else uri(releasesRepoUrl)
91+
url = if (version.toString().contains("SNAPSHOT")) uri(snapshotsRepoUrl) else uri(releasesRepoUrl)
9292
credentials {
9393
username = System.getenv("OSSRH_USERNAME")
9494
password = System.getenv("OSSRH_PASSWORD")

0 commit comments

Comments
 (0)