Fix Version metadata have trailing dot (#2403)

This commit is contained in:
Jeong Arm 2023-09-13 15:47:39 +09:00 committed by GitHub
parent 06221b90d2
commit 26c903c35b

View file

@ -25,7 +25,7 @@ module Mastodon
end end
def build_metadata def build_metadata
['glitch', ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact.join('.') ['glitch', ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact_blank.join('.')
end end
def to_a def to_a