lib/appversion/appversion.rb in overview-0.0.3.45 vs lib/appversion/appversion.rb in overview-0.0.3.47
- old
+ new
@@ -75,11 +75,11 @@
CI.build_no
end
def suffix
branch = Git.branch
- p "Branch = #{branch}"
+ p "Branch = #{branch}."
case branch
when /develop/
suffix = '-develop'
when /master/
suffix = '-master'
@@ -92,9 +92,10 @@
else
suffix = '-debug'
end
#special case for github releases
if CI.tagged_build?
+ p 'Tagged build, suppressing branch suffix.'
suffix = ''
end
return suffix
end
end
\ No newline at end of file