From c9cea6892bcf3e1bcbba41783267b8c88a48838e Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 28 Oct 2014 12:55:21 +0100 Subject: [PATCH] Use suffix for dev gems. --- qasim.gemspec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/qasim.gemspec b/qasim.gemspec index bb8a7bd..beedaa0 100644 --- a/qasim.gemspec +++ b/qasim.gemspec @@ -5,7 +5,11 @@ require 'qasim/version' Gem::Specification.new do |spec| 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.email = ["glenux@glenux.net"] spec.summary = %q{Easy mount solution for SSH filesystems.}