It actually is null

This commit is contained in:
Jim Nicholson 2024-02-07 22:45:01 -08:00
parent bff7563ea9
commit f13b691cdc

View File

@ -46,7 +46,7 @@ Map call(Map config = [:]) {
version = latest.version
buildNumFromQuery = '1'
if (version == 'null') {
if (version == null) {
matches = (latest.name =~ /.*-([0-9\.]+)-([0-9]+)\.)[0]/)[0]
version = matches[1]
buildNumFromQuery = matches[2]