Skip to content

Commit

Permalink
fixes an issue with the version calculation
Browse files Browse the repository at this point in the history
* error output should not be null (assertion failure)
  • Loading branch information
encodeering committed Jun 5, 2017
1 parent 0c1e960 commit 3af4cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion version.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ext.versioncode = { String defver = '0.0.0' ->
exec {
commandLine 'git', 'describe', '--tags'
standardOutput = stdout
errorOutput = null
errorOutput = new ByteArrayOutputStream()
}
return stdout.toString ().trim ()
} catch (e) {
Expand Down

0 comments on commit 3af4cbc

Please sign in to comment.