Skip to content

Commit 34b4d27

Browse files
committed
fix isReleaseVersion
1 parent 6495b34 commit 34b4d27

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies {
5757
}
5858

5959
val isReleaseVersion: Provider<Boolean> =
60-
providers.provider { project.version.toString().endsWith("-SNAPSHOT") }
60+
providers.provider { !project.version.toString().endsWith("-SNAPSHOT") }
6161

6262
tasks.nmcpPublishAggregationToCentralPortal {
6363
val isReleaseVersion = isReleaseVersion

0 commit comments

Comments
 (0)