Don't go unstable if no version can be determined

This commit is contained in:
Jim Nicholson 2024-02-13 02:48:45 -08:00
parent ddc5b9a6d0
commit 258546d13c

View File

@ -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
}