lib/flip_fab/version.rb in flip_fab-1.0.2 vs lib/flip_fab/version.rb in flip_fab-1.0.16
- old
+ new
@@ -1,3 +1,8 @@
+# frozen_string_literal: true
+
module FlipFab
- VERSION = '1.0.2'.freeze
+ base = '1.0.16'
+
+ # SB-specific versioning "algorithm" to accommodate BNW/Jenkins/gemstash
+ VERSION = (pre = ENV.fetch('GEM_PRE_RELEASE', '')).empty? ? base : "#{base}.#{pre}"
end