We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b41280 commit 72944b4Copy full SHA for 72944b4
app/build.gradle
@@ -20,7 +20,7 @@ def getGitHubCommit = {
20
}
21
22
gitVersionName = hashOutput.asText.get().trim().substring(0, 7)
23
- if (!changeOutput.toString().trim().empty) {
+ if (!changeOutput.asText.get().trim().empty) {
24
def pattern = Pattern.compile("\\d+");
25
def matcher = pattern.matcher(changeOutput.asText.get().trim())
26
if (matcher.find()) {
0 commit comments