Skip to content

Commit

Permalink
fix publishing snapshots into releases & other way around
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Jan 25, 2024
1 parent 2cbe1bb commit 6560834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ subprojects {
val snapshots = "https://maven.lavalink.dev/snapshots"
val releases = "https://maven.lavalink.dev/releases"

maven(if ((version as String).endsWith("-SNAPSHOT")) releases else snapshots) {
maven(if ((version as String).endsWith("-SNAPSHOT")) snapshots else releases) {
credentials {
password = findProperty("MAVEN_PASSWORD") as String?
username = findProperty("MAVEN_USERNAME") as String?
Expand Down

0 comments on commit 6560834

Please sign in to comment.