Sha256: 951edd20b5b8baea5595f8e083294ca3ec386153dd581f68ce8da4d7a4ec8332
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.28' 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.28 | lib/cicd/builder/version.rb |