Consider `CI_TAG=` to be the same as `unset CI_TAG`

This commit is contained in:
Michael Vines 2019-11-18 23:42:51 -07:00
parent 7ccc029f77
commit e22f89853f
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 1 deletions

View File

@ -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"),