Skip to content

Commit a8fc519

Browse files
committed
build: use commitVersion as main project version
1 parent 1311b22 commit a8fc519

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ val suffixedVersion: String = if (isRelease) {
3939

4040
val publishVersion = if (isRelease) suffixedVersion else "$versionString-build.${System.getenv("GITHUB_RUN_NUMBER")}"
4141
val commitVersion = publishVersion + "-" + (System.getenv("GITHUB_SHA")?.substring(0, 7) ?: "local")
42+
version = commitVersion
4243

4344
val changelogContent: String = latestCommitMessage()
4445

0 commit comments

Comments
 (0)