Skip to content

Commit

Permalink
Nightly build: provide details on build failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisguse committed Dec 6, 2024
1 parent 721b54b commit 05fbfcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def getVersionName = { ->
}
return stdout.toString().trim()
} catch (ignored) {
return null
throw new GradleException('VersionName could not be read:' + ignored.message)
}
}

Expand All @@ -39,7 +39,7 @@ def getVersionCode = { ->
}
return Integer.valueOf(stdout.toString().trim())
} catch (ignored) {
return null
throw new GradleException('VersionCode could not be read:' + ignored.message)
}
}

Expand Down

0 comments on commit 05fbfcb

Please sign in to comment.