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 end
def default_prerelease def default_prerelease
'alpha.0' ''
end end
def prerelease def prerelease
ENV['MASTODON_VERSION_PRERELEASE'].presence || default_prerelease ENV['MASTODON_VERSION_PRERELEASE'].presence || default_prerelease
end end
def catstodon_revision
'1.0.0'
end
def build_metadata 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 end
def to_a def to_a