diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 6320836602..b3526a59af 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