mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-25 12:55:00 +08:00
20 lines
465 B
Ruby
Vendored
20 lines
465 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.5.0-latest.1"
|
|
|
|
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
|