Sha256: 9e7f3d8750018133ff0423dae89142a8fd52d3cf1e16af7bc10ae61e2c991471
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.15' 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.15 | lib/cicd/builder/version.rb |