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
|
||||
}
|
||||
} else {
|
||||
version = '0.0.1'
|
||||
unstable('No matching assets found, assuming this is the first version')
|
||||
version = '0.0.0'
|
||||
echo 'INFO: No matching assets found, assuming this is the first version.'
|
||||
}
|
||||
return version
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user