From baab85fac7e33e935dc64f9c1770bf7daadd29e5 Mon Sep 17 00:00:00 2001 From: fef Date: Wed, 16 Nov 2022 01:27:48 +0000 Subject: [PATCH] add post suffix version --- lib/mastodon/version.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index b6a3f33120..30c107bafb 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -28,12 +28,20 @@ module Mastodon '+1.0.4' end + def post_suffix + '+nya' + end + + def post_suffix_version + '-1.0.1' + end + def to_a [major, minor, patch].compact end def to_s - [to_a.join('.'), flags, suffix, suffix_version].join + [to_a.join('.'), flags, suffix, suffix_version, post_suffix, post_suffix_version].join end def repository