Sha256: 3176d3559ab2204e49430693ffcc864280d1e212b9ea6026d99a1de545df8444
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
module CiCd # noinspection ALL module Builder # file = File.expand_path("#{File.dirname(__FILE__)}/../../../VERSION") # lines = File.readlines(file) # version = lines[0] version = '0.9.31' VERSION = version unless const_defined?('VERSION') major, minor, tiny = VERSION.split('.') MAJOR = major unless const_defined?('MAJOR') MINOR = minor unless const_defined?('MINOR') TINY = tiny unless const_defined?('TINY') PATCH = TINY unless const_defined?('PATCH') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cicd-builder-0.9.31 | lib/cicd/builder/version.rb |