fix: filter tags
This commit is contained in:
parent
be8da6112f
commit
9a9e2a8706
@ -37,7 +37,8 @@ async function getSemverDownloadMeta(options: Input): Promise<DownloadMeta> {
|
|||||||
(tag) =>
|
(tag) =>
|
||||||
tag.ref.startsWith("refs/tags/bun-v") || tag.ref === "refs/tags/canary",
|
tag.ref.startsWith("refs/tags/bun-v") || tag.ref === "refs/tags/canary",
|
||||||
)
|
)
|
||||||
.map((item) => item.ref.replace(/refs\/tags\/(bun-v)?/g, ""));
|
.map((item) => item.ref.replace(/refs\/tags\/(bun-v)?/g, ""))
|
||||||
|
.filter(Boolean);
|
||||||
|
|
||||||
const { version, os, arch, avx2, profile } = options;
|
const { version, os, arch, avx2, profile } = options;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user