Consider `CI_TAG=` to be the same as `unset CI_TAG`
This commit is contained in:
parent
7ccc029f77
commit
e22f89853f
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue