summaryrefslogtreecommitdiffstats
path: root/lib/redmine/version.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 11:49:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-11-16 11:49:37 +0000
commit9c09fd20fbd361aecab26be7d5187afd35a4f657 (patch)
tree08ebba618e8ff6767c8c75ce6f27467c7d2e32fc /lib/redmine/version.rb
parent79b1347ba562d3b304cd9d80f569818bf59288d0 (diff)
downloadredmine-9c09fd20fbd361aecab26be7d5187afd35a4f657.tar.gz
redmine-9c09fd20fbd361aecab26be7d5187afd35a4f657.zip
Changes version naming rule (#2162).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2036 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/version.rb')
-rw-r--r--lib/redmine/version.rb10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/redmine/version.rb b/lib/redmine/version.rb
index 81006fe2d..104efe7dd 100644
--- a/lib/redmine/version.rb
+++ b/lib/redmine/version.rb
@@ -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