Improve version naming.

This commit is contained in:
Glenn Y. Rolland 2014-10-28 14:12:10 +01:00
parent 9192778797
commit 941cda0456
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
PATH
remote: .
specs:
qasim (0.1.11)
qasim (0.1.11.dev.2014102811)
qtbindings (~> 4.8.6.0)
GEM

View file

@ -6,7 +6,7 @@ require 'qasim/version'
Gem::Specification.new do |spec|
spec.name = "qasim"
spec.version = if `git branch`.split($/).include?("* develop") then
Qasim::APP_VERSION + '.dev-' + Time.now.utc.strftime('%Y%m%d%H')
Qasim::APP_VERSION + '.dev.' + Time.now.utc.strftime('%Y%m%d%H')
else
Qasim::APP_VERSION
end