A platform for community discussion. Free, open, simple.
DEV: Fix calculation of DEV part in version.rb, drop PRE (#36995)
Penar Musaraj723e872556ef
diff --git a/lib/version.rb b/lib/version.rbindex 53e6d3bcacf..b88e5de5794 100644--- a/lib/version.rb+++ b/lib/version.rb@@ -15,8 +15,7 @@ module DiscourseMAJOR = PARTS[0].to_iMINOR = PARTS[1].to_iTINY = PARTS[2].to_i- PRE = PARTS[3]&.split("-", 2)&.[](0)- DEV = PARTS[3]&.split("-", 2)&.[](1)+ DEV = PARTS[2]&.split("-", 2)&.[](1)endend