Skip to content

Commit

Permalink
publishing: Truncate git commit pt. 2 (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nava2 authored Aug 16, 2024
1 parent eca5e36 commit e11c034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-targets-gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ if (!providers.environmentVariable("RELEASE").isPresent) {
providers.exec { commandLine("git", "rev-parse", "--short", "HEAD") }
.standardOutput
.asText
.map { it.trim().take(10) }
.get()
},
)
.map { it.trim().take(10) }
.get()

version = "$version-$gitSha-SNAPSHOT"
Expand Down

0 comments on commit e11c034

Please sign in to comment.