diff --git a/install/src/command.rs b/install/src/command.rs index 888e4e9b83..d59e63d7dd 100644 --- a/install/src/command.rs +++ b/install/src/command.rs @@ -584,6 +584,16 @@ pub fn info( "SOLANA_INSTALL_ACTIVE_RELEASE={}", &config.active_release_dir().to_str().unwrap_or("") ); + config + .explicit_release + .map(|er| match er { + ExplicitRelease::Semver(semver) => semver, + ExplicitRelease::Channel(channel) => channel, + }) + .and_then(|channel| { + println!("SOLANA_INSTALL_ACTIVE_CHANNEL={}", channel,); + Option::::None + }); return Ok(None); }