From 05415bb9de475aa8646985a545f30fe93136207e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 26 Sep 2024 01:40:35 +0100 Subject: [PATCH] fix(compile): support 'deno compile' in RC and LTS releases (#25875) This was missed previously. There's no problem support RC and LTS releases. --- cli/standalone/binary.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs index 1e84e13986..1290a238f3 100644 --- a/cli/standalone/binary.rs +++ b/cli/standalone/binary.rs @@ -427,13 +427,9 @@ impl<'a> DenoCompileBinaryWriter<'a> { binary_name ) } - ReleaseChannel::Stable => { + _ => { format!("release/v{}/{}", env!("CARGO_PKG_VERSION"), binary_name) } - _ => bail!( - "`deno compile` current doesn't support {} release channel", - crate::version::DENO_VERSION_INFO.release_channel.name() - ), }; let download_directory = self.deno_dir.dl_folder_path();