uppercase Gitlab version and revision constants. check api return gitlab version now
This commit is contained in:
parent
e65cc4f849
commit
b729728536
5 changed files with 10 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
module Gitlab
|
||||
Version = File.read(Rails.root.join("VERSION"))
|
||||
Revision = `git log --pretty=format:'%h' -n 1`
|
||||
VERSION = File.read(Rails.root.join("VERSION")).strip
|
||||
REVISION = `git log --pretty=format:'%h' -n 1`
|
||||
|
||||
def self.config
|
||||
Settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue