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