lib/appversion/ci.rb in overview-0.0.3.47 vs lib/appversion/ci.rb in overview-0.0.3.49
- old
+ new
@@ -2,11 +2,12 @@
class CI
DEFAULT_BUILD_NO = '1'
def self.tagged_build?
- !(ENV['TRAVIS_TAG'] || '').empty?
+ p "TRAVIS_TAG=#{ENV['TRAVIS_TAG']}"
+ (ENV['TRAVIS_TAG'] || '').length > 0
end
def self.build_no
ENV["TRAVIS_BUILD_NUMBER"] || ENV["CIRCLE_BUILD_NUM"] || DEFAULT_BUILD_NO
end
@@ -22,8 +23,6 @@
def self.version_suffix
ENV['VERSION_SUFFIX'] || ''
end
end
-end
-
-p Overview::CI.tagged_build?
+end
\ No newline at end of file