Use suffix for dev gems.

This commit is contained in:
Glenn Y. Rolland 2014-10-28 12:55:21 +01:00
parent a7965bc9d9
commit c9cea6892b

View file

@ -5,7 +5,11 @@ require 'qasim/version'
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "qasim" spec.name = "qasim"
spec.version = Qasim::APP_VERSION spec.version = if `git branch`.split($/).include?("* develop") then
Qasim::APP_VERSION + '.dev-' + Time.now.utc.strftime('%Y%m%d%H')
else
Qasim::APP_VERSION
end
spec.authors = ["Glenn Y. Rolland"] spec.authors = ["Glenn Y. Rolland"]
spec.email = ["glenux@glenux.net"] spec.email = ["glenux@glenux.net"]
spec.summary = %q{Easy mount solution for SSH filesystems.} spec.summary = %q{Easy mount solution for SSH filesystems.}