mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-28 05:23:41 +01:00
v4.3.0+1.0.0
This commit is contained in:
parent
b3d871d3a4
commit
981fd44683
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue