summaryrefslogtreecommitdiff
path: root/cli/standalone
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-09-26 01:40:35 +0100
committerGitHub <noreply@github.com>2024-09-26 02:40:35 +0200
commit05415bb9de475aa8646985a545f30fe93136207e (patch)
tree971b9be3c9f16abc96916567a97d7a414450f148 /cli/standalone
parent49366ef6c26be74a7bf53a5f639d88108ddc246a (diff)
fix(compile): support 'deno compile' in RC and LTS releases (#25875)
This was missed previously. There's no problem support RC and LTS releases.
Diffstat (limited to 'cli/standalone')
-rw-r--r--cli/standalone/binary.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/cli/standalone/binary.rs b/cli/standalone/binary.rs
index 1e84e1398..1290a238f 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();