mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -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:
parent
49366ef6c2
commit
05415bb9de
1 changed files with 1 additions and 5 deletions
|
@ -427,13 +427,9 @@ impl<'a> DenoCompileBinaryWriter<'a> {
|
||||||
binary_name
|
binary_name
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
ReleaseChannel::Stable => {
|
_ => {
|
||||||
format!("release/v{}/{}", env!("CARGO_PKG_VERSION"), binary_name)
|
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();
|
let download_directory = self.deno_dir.dl_folder_path();
|
||||||
|
|
Loading…
Reference in a new issue