From 981fd44683bd55a62b89f4f4748c9ed70f7cd66f Mon Sep 17 00:00:00 2001 From: Jeremy Kescher Date: Tue, 2 Jan 2024 19:11:50 +0100 Subject: [PATCH] v4.3.0+1.0.0 --- lib/mastodon/version.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index ee5f735fe5..8019b3743b 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -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