lib/appversion/ci.rb in overview-0.0.3.45 vs lib/appversion/ci.rb in overview-0.0.3.47

- old
+ new

@@ -2,11 +2,11 @@ class CI DEFAULT_BUILD_NO = '1' def self.tagged_build? - !ENV['TRAVIS_TAG'].nil? + !(ENV['TRAVIS_TAG'] || '').empty? end def self.build_no ENV["TRAVIS_BUILD_NUMBER"] || ENV["CIRCLE_BUILD_NUM"] || DEFAULT_BUILD_NO end @@ -22,6 +22,8 @@ def self.version_suffix ENV['VERSION_SUFFIX'] || '' end end -end +end + +p Overview::CI.tagged_build? \ No newline at end of file