1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

fix(compile): support 'deno compile' in RC and LTS releases (#25875)

This was missed previously. There's no problem support RC and LTS
releases.
This commit is contained in:
Bartek Iwańczuk 2024-09-26 01:40:35 +01:00 committed by GitHub
parent 49366ef6c2
commit 05415bb9de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();