From 97f3d7b66280f5366a63bb0ad3df47e869530f2d Mon Sep 17 00:00:00 2001 From: Jeong Arm Date: Wed, 13 Sep 2023 15:47:39 +0900 Subject: [PATCH] Fix Version metadata have trailing dot (#2403) --- lib/mastodon/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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