Merge branch 'master' into 3889-functional-testing
[arvados.git] / sdk / cli / arvados-cli.gemspec
index c596822a28714fda2221b0d435ef8743b8e40c2b..88a409c96d30553be87bb16a34edc85b58e8bc6b 100644 (file)
@@ -5,8 +5,8 @@ end
 
 Gem::Specification.new do |s|
   s.name        = 'arvados-cli'
-  s.version     = '0.1.' + `git log --pretty=format:'%ci' -n 1 .`[0..18].gsub(/[ \-:]/,'')
-  s.date        = `git log --pretty=format:'%ci' -n 1 .`[0..9]
+  s.version     = '0.1.' + `git log --first-parent --pretty=format:'%ci' -n 1 .`[0..18].gsub(/[ \-:]/,'')
+  s.date        = `git log --first-parent --pretty=format:'%ci' -n 1 .`[0..9]
   s.summary     = "Arvados CLI tools"
   s.description = "Arvados command line tools, git commit " + `git log --pretty=format:'%H' -n 1 .`
   s.authors     = ["Arvados Authors"]