about summary refs log tree commit diff
path: root/xtask/src
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-06-02 18:14:38 +0200
committerLukas Wirth <lukastw97@gmail.com>2022-06-02 18:36:02 +0200
commita2a3ea86eaafdc3bb6287e836a42deadcd02637b (patch)
tree639119066d199ed8d8a77ebca2b370ae30b78af7 /xtask/src
parent88024c7ec2d44a8be8bf05a6580409200cf726fc (diff)
downloadrust-a2a3ea86eaafdc3bb6287e836a42deadcd02637b.tar.gz
rust-a2a3ea86eaafdc3bb6287e836a42deadcd02637b.zip
Bring the version command output in line with other rust tools
Diffstat (limited to 'xtask/src')
-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 2ea452377ee..c82867d3b4d 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: