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:
Jean-Philippe Lang 2008-11-16 11:49:37 +00:00
parent 79b1347ba5
commit 9c09fd20fb
1 changed files with 8 additions and 2 deletions

View File

@ -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