Update manifests

This commit is contained in:
Imran Ismail
2020-09-25 22:16:19 +08:00
parent 359e84cbc9
commit ff25099d8b
3 changed files with 28 additions and 25 deletions

View File

@@ -70,10 +70,13 @@ async function getMaxSatisfyingVersion(
)
if (matchingAsset) {
const version = (versionRegex.exec(release.name) || []).shift()
const kustomizeVersion = (versionRegex.exec(release.name) || []).shift()
if (version != null) {
availableVersions.set(version, matchingAsset.browser_download_url)
if (kustomizeVersion != null) {
availableVersions.set(
kustomizeVersion,
matchingAsset.browser_download_url
)
}
}
}