Improve version naming.
This commit is contained in:
parent
9192778797
commit
941cda0456
2 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
qasim (0.1.11)
|
||||
qasim (0.1.11.dev.2014102811)
|
||||
qtbindings (~> 4.8.6.0)
|
||||
|
||||
GEM
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue