Skip to content

Commit f937869

Browse files
authored
chore: Suggestions from code review
1 parent 539e33a commit f937869

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

buildSrc/src/main/kotlin/datadog/gradle/plugin/version/GitCommandValueSource.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ abstract class GitCommandValueSource @Inject constructor(
2727
isIgnoreExitValue = true
2828
}
2929
} catch (e: Exception) {
30-
e.printStackTrace()
3130
throw GradleException("Failed to run: ${commands.joinToString(" ")}", e)
3231
}
3332

buildSrc/src/main/kotlin/datadog/gradle/plugin/version/TracerVersionPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class TracerVersionPlugin @Inject constructor(
9191
"--abbrev=8",
9292
"--tags",
9393
"--first-parent",
94-
"--match=$tagPrefix[0-9].[0-9]*.[0-9]",
94+
"--match=$tagPrefix[0-9].[0-9]*.[0-9]*",
9595
)
9696

9797
if (extension.detectDirty.get()) {

0 commit comments

Comments
 (0)