0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 02:51:10 +08:00
discourse/lib/version.rb
discoursebot fb9247e04a DEV: Begin development of v2026.8.0-latest
Merging this will trigger the creation of a `release/2026.7` branch on the preceding commit.
2026-07-28 16:46:50 +02:00

20 lines
463 B
Ruby
Vendored

# 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.8.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