mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 14:54:42 +08:00
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>
20 lines
463 B
Ruby
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
|