v4.3.0+1.0.0

This commit is contained in:
Jeremy Kescher 2024-01-02 19:11:50 +01:00
parent b3d871d3a4
commit 981fd44683
No known key found for this signature in database
GPG key ID: 80A419A7A613DFA4

View file

@ -17,15 +17,19 @@ module Mastodon
end
def default_prerelease
'alpha.0'
''
end
def prerelease
ENV['MASTODON_VERSION_PRERELEASE'].presence || default_prerelease
end
def catstodon_revision
'1.0.0'
end
def build_metadata
['glitch+cat', ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact_blank.join('.')
["glitch+cat+#{catstodon_revision}", ENV.fetch('MASTODON_VERSION_METADATA', nil)].compact_blank.join('.')
end
def to_a