1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-27 14:29:03 +09:00

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