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 075ee0b2d4
commit 97f3d7b662
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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