* Add: #391 開発中のブランチにベータ版のバージョン表記ができるよう整備・Bump version to 11.0-dev * Fix test
This commit is contained in:
parent
2ef5fdb6fb
commit
b044cbeb63
3 changed files with 14 additions and 3 deletions
|
@ -34,6 +34,7 @@ class SoftwareUpdateCheckService < BaseService
|
|||
if ENV.fetch('UPDATE_CHECK_SOURCE', 'kmyblue') == 'kmyblue'
|
||||
@version = "#{Mastodon::Version.kmyblue_major}.#{Mastodon::Version.kmyblue_minor}"
|
||||
@version += '-lts' if Setting.check_lts_version_only
|
||||
@version += '-dev' if Mastodon::Version.dev?
|
||||
else
|
||||
@version = Mastodon::Version.to_s.split('+')[0]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue