discourse/lib/version.rb
github-actions[bot] 640840d818
DEV: Begin development of v2026.5.0-latest (#39608)
Merging this will trigger the creation of a `release/2026.4` branch on
the preceding commit.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-28 14:59:15 +01:00

20 lines
463 B
Ruby

# frozen_string_literal: true
module Discourse
# work around reloader
unless defined?(::Discourse::VERSION)
module VERSION #:nodoc:
# Use the `version_bump:*` rake tasks to update this value
STRING = "2026.5.0-latest"
PARTS = STRING.split(".")
private_constant :PARTS
MAJOR = PARTS[0].to_i
MINOR = PARTS[1].to_i
TINY = PARTS[2].to_i
PRE = nil
DEV = PARTS[2]&.split("-", 2)&.[](1)
end
end
end