Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/dist.rs')
-rw-r--r--xtask/src/dist.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/dist.rs b/xtask/src/dist.rs
index 2ea452377e..c82867d3b4 100644
--- a/xtask/src/dist.rs
+++ b/xtask/src/dist.rs
@@ -72,7 +72,8 @@ fn dist_client(
}
fn dist_server(sh: &Shell, release_channel: &str, target: &Target) -> anyhow::Result<()> {
- let _e = sh.push_env("RUST_ANALYZER_CHANNEL", release_channel);
+ let _e = sh.push_env("CFG_RELEASE_CHANNEL", release_channel);
+ let _e = sh.push_env("CFG_RELEASE", "0.0.0");
let _e = sh.push_env("CARGO_PROFILE_RELEASE_LTO", "thin");
// Uncomment to enable debug info for releases. Note that: