Reset version to ChiliProject's standards
* Third version is called Patch * Branches are stable, master, or unstable
This commit is contained in:
parent
7e99e2714b
commit
e04513ed23
@ -4,13 +4,16 @@ module Redmine
|
|||||||
module VERSION #:nodoc:
|
module VERSION #:nodoc:
|
||||||
MAJOR = 1
|
MAJOR = 1
|
||||||
MINOR = 1
|
MINOR = 1
|
||||||
TINY = 1
|
PATCH = 0
|
||||||
|
TINY = PATCH # Redmine compat
|
||||||
|
|
||||||
# Branch values:
|
# Branches:
|
||||||
# * official release: nil
|
# * stable - released version
|
||||||
# * stable branch: stable
|
# * master - stable development
|
||||||
# * trunk: devel
|
# * unstable - future development
|
||||||
BRANCH = 'devel'
|
#
|
||||||
|
# Source: https://www.chiliproject.org/projects/chiliproject/wiki/ChiliProject_Repository
|
||||||
|
BRANCH = 'master'
|
||||||
|
|
||||||
def self.revision
|
def self.revision
|
||||||
revision = nil
|
revision = nil
|
||||||
@ -34,7 +37,7 @@ module Redmine
|
|||||||
end
|
end
|
||||||
|
|
||||||
REVISION = self.revision
|
REVISION = self.revision
|
||||||
ARRAY = [MAJOR, MINOR, TINY, BRANCH, REVISION].compact
|
ARRAY = [MAJOR, MINOR, PATCH, BRANCH, REVISION].compact
|
||||||
STRING = ARRAY.join('.')
|
STRING = ARRAY.join('.')
|
||||||
|
|
||||||
def self.to_a; ARRAY end
|
def self.to_a; ARRAY end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user