Don't go unstable if no version can be determined
This commit is contained in:
parent
ddc5b9a6d0
commit
258546d13c
@ -56,8 +56,8 @@ Map call(Map config = [:], Map queryParams = [:]) {
|
|||||||
version = latest.version
|
version = latest.version
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
version = '0.0.1'
|
version = '0.0.0'
|
||||||
unstable('No matching assets found, assuming this is the first version')
|
echo 'INFO: No matching assets found, assuming this is the first version.'
|
||||||
}
|
}
|
||||||
return version
|
return version
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user