lib/cicd/builder/version.rb in cicd-builder-0.9.10 vs lib/cicd/builder/version.rb in cicd-builder-0.9.11
- old
+ new
@@ -2,11 +2,14 @@
# noinspection ALL
module Builder
# file = File.expand_path("#{File.dirname(__FILE__)}/../../../VERSION")
# lines = File.readlines(file)
# version = lines[0]
- version = '0.9.10'
- VERSION = version
- MAJOR, MINOR, TINY = VERSION.split('.')
- PATCH = TINY
+ version = '0.9.11'
+ 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