From 9c09fd20fbd361aecab26be7d5187afd35a4f657 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 16 Nov 2008 11:49:37 +0000 Subject: [PATCH] Changes version naming rule (#2162). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2036 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/version.rb | 10 ++++++++-- 1 file 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