Don't increase build meta on CIs.

This commit is contained in:
Erik C. Thauvin 2019-04-07 01:05:26 -07:00
parent ecfba4720e
commit d04ed1a6ab
4 changed files with 13 additions and 3 deletions

View file

@ -97,7 +97,9 @@ run {
incrementBuildMeta {
doFirst {
buildMeta = sprintf("%03d", (buildMeta as Integer) + 1)
if (!System.getenv('CI')) {
buildMeta = sprintf("%03d", (buildMeta as Integer) + 1)
}
}
}