Consider CI_TAG=
to be the same as unset CI_TAG
This commit is contained in:
@ -4,7 +4,7 @@ macro_rules! version {
|
||||
&*format!(
|
||||
"{}{}",
|
||||
env!("CARGO_PKG_VERSION"),
|
||||
if option_env!("CI_TAG").is_none() {
|
||||
if option_env!("CI_TAG").unwrap_or("").is_empty() {
|
||||
format!(
|
||||
" [channel={} commit={}]",
|
||||
option_env!("CHANNEL").unwrap_or("unknown"),
|
||||
|
Reference in New Issue
Block a user