mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-29 13:43: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
|
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
|
||||||
|
|
Loading…
Reference in a new issue