diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 632083660..b3526a59a 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -25,7 +25,7 @@ module Mastodon end def build_metadata - ['glitch', ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact.join('.') + ['glitch', ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact_blank.join('.') end def to_a