mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 06:56:24 +00:00
fix(nuget): use last version if no stable exists (#8327)
This commit is contained in:
parent
12cc30779a
commit
9bffbb6e62
1 changed files with 7 additions and 0 deletions
|
@ -165,6 +165,13 @@ export async function getReleases(
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// istanbul ignore if: only happens when no stable version exists
|
||||||
|
if (latestStable === null) {
|
||||||
|
const last = catalogEntries.pop();
|
||||||
|
latestStable = removeBuildMeta(last.version);
|
||||||
|
homepage ??= last.projectUrl;
|
||||||
|
}
|
||||||
|
|
||||||
const dep: ReleaseResult = {
|
const dep: ReleaseResult = {
|
||||||
pkgName,
|
pkgName,
|
||||||
releases,
|
releases,
|
||||||
|
|
Loading…
Reference in a new issue