diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index 7758b8859e..a60d0bf4b2 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -20,8 +20,12 @@ module Mastodon 'beta2' end - def suffix - '+YRYRh' + def prerelease + ENV['MASTODON_VERSION_PRERELEASE'].presence || default_prerelease + end + + def build_metadata + 'YRYRh' end def to_a