Skip to content

Commit

Permalink
Changing dirty param for git versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Collins committed Nov 3, 2013
1 parent 8651704 commit ab371be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Simperium/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def gitDescribe = { ->
try {
def code = new ByteArrayOutputStream()
exec {
commandLine 'git', 'describe', '--always', '--dirty=*'
commandLine 'git', 'describe', '--always', '--dirty=-dirty'
standardOutput = code
}
return code.toString().trim()
Expand Down Expand Up @@ -106,7 +106,7 @@ public final class Version {
/* git rev-parse --short --verify HEAD */
public static final String BUILD = "${gitHash()}";
/* git describe --always --dirty=* */
/* git describe --always --dirty=-dirty */
public static final String DESCRIBE = "${gitDescribe()}";
}
""")
Expand Down

0 comments on commit ab371be

Please sign in to comment.