Sha256: c78f0dfcf42d5a3f76d105d757d4e137ee64966753090737c7def7b947d8e970
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.22' 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.22 | lib/cicd/builder/version.rb |