Handle pre-generated buildnumber

This commit is contained in:
Dan Hawkins 2021-12-03 10:04:46 +00:00
commit 79d92bf482

View file

@ -300,7 +300,7 @@ class BuildStampInfo extends GISJsonSerialised {
script.error("Overriding build stamp: ${buildstamp} is not of the format: 1.2.3.4")
}
this.stampprefix = "${s[0]}.${s[1]}.${s[2]}"
this.revision = "${s[3]}".toInteger()
this.revision = s[3].toInteger()
this.buildstamp = buildstamp
script.echo("Build stamp overridden to: ${this.buildstamp}")
}