Changes version naming rule (#2162).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2036 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
79b1347ba5
commit
9c09fd20fb
|
@ -4,7 +4,13 @@ module Redmine
|
|||
module VERSION #:nodoc:
|
||||
MAJOR = 0
|
||||
MINOR = 7
|
||||
TINY = 'devel'
|
||||
TINY = 3
|
||||
|
||||
# Branch values:
|
||||
# * official release: nil
|
||||
# * stable branch: stable
|
||||
# * trunk: devel
|
||||
BRANCH = 'devel'
|
||||
|
||||
def self.revision
|
||||
revision = nil
|
||||
|
@ -28,7 +34,7 @@ module Redmine
|
|||
end
|
||||
|
||||
REVISION = self.revision
|
||||
STRING = [MAJOR, MINOR, TINY, REVISION].compact.join('.')
|
||||
STRING = [MAJOR, MINOR, TINY, BRANCH, REVISION].compact.join('.')
|
||||
|
||||
def self.to_s; STRING end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue