From c142d7cf376cf35187a5eb3dc3719ba387d37abc Mon Sep 17 00:00:00 2001 From: Anton Nesterov Date: Sat, 11 Feb 2023 16:25:32 +0300 Subject: [PATCH] fix: github tag resolve --- mod.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index 43769bf..2b6b44a 100644 --- a/mod.ts +++ b/mod.ts @@ -76,7 +76,7 @@ function asReadable$(entry: ConfigEntry): ReadableEntry { Expected: @`, ); } - read = () => githubPick({ repo, version: version.join(""), pick }); + read = () => githubPick({ repo, version: version.join("@"), pick }); break; } default: { @@ -134,6 +134,7 @@ export async function* githubPick( export async function* githubPickFiles( { repo, version, pick }: GithubPickOptions, ): ReturnType { + console.log(`https://github.com/${repo}/archive/refs/tags/${version}.tar.gz`); const targz = await fetch( `https://github.com/${repo}/archive/refs/tags/${version}.tar.gz`, );