A platform for community discussion. Free, open, simple.
FIX: Restore `Discourse::Version::PRE` (#37006)
David Taylor2e97f1caee05
diff --git a/lib/version.rb b/lib/version.rbindex b88e5de5794..b491439913e 100644--- a/lib/version.rb+++ b/lib/version.rb@@ -15,6 +15,7 @@ module DiscourseMAJOR = PARTS[0].to_iMINOR = PARTS[1].to_iTINY = PARTS[2].to_i+ PRE = nilDEV = PARTS[2]&.split("-", 2)&.[](1)endend