Skip to content

Commit

Permalink
publishing: Truncate the git commit to 10 characters (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nava2 authored Aug 16, 2024
1 parent 9548ac3 commit eca5e36
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,7 +16,7 @@ if (!providers.environmentVariable("RELEASE").isPresent) {
providers.exec { commandLine("git", "rev-parse", "--short", "HEAD") }
.standardOutput
.asText
.map { it.trim() }
.map { it.trim().take(10) }
.get()
},
)
Expand Down

0 comments on commit eca5e36

Please sign in to comment.