Skip to content

Commit

Permalink
fix incorrect release name when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Jul 6, 2024
1 parent fbd8223 commit 1ca8909
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Config.namespace
import com.vanniktech.maven.publish.SonatypeHost

plugins {
Expand All @@ -18,7 +19,7 @@ mavenPublishing {
val isReleaseBuild = properties["release"]?.toString().toBoolean()
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, false)
if (isReleaseBuild) signAllPublications()
coordinates(Config.group, Config.artifact, Config.version(isReleaseBuild))
coordinates(Config.artifactId, name, Config.version(isReleaseBuild))
pom {
name = Config.name
description = Config.description
Expand Down

0 comments on commit 1ca8909

Please sign in to comment.