From 2dbbeedc94e14164e370e9be2c243bd6ff40e4a3 Mon Sep 17 00:00:00 2001 From: Jaehong Kang Date: Thu, 24 Aug 2023 20:07:27 +0900 Subject: [PATCH] Fix: Workaround to load MASTODON_VERSION_* in Docker. (#26591) Co-authored-by: Claire --- lib/mastodon/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mastodon/version.rb b/lib/mastodon/version.rb index ee81eedaa5e..e3347ca17c3 100644 --- a/lib/mastodon/version.rb +++ b/lib/mastodon/version.rb @@ -17,7 +17,7 @@ module Mastodon end def flags - ENV.fetch('MASTODON_VERSION_FLAGS', '-beta2') + ENV['MASTODON_VERSION_FLAGS'].presence || '-beta2' end def suffix