refs #13369 "Merge branch '13369-update-ubuntu1404-dockerfile'".
[arvados.git] / sdk / cli / arvados-cli.gemspec
index b73612f85a4e5b74602e46edbf22734382685b69..fd48b4852df4f1223eb7ce6fc125fc2234e78f6d 100644 (file)
@@ -9,7 +9,7 @@ end
 
 git_latest_tag = `git describe --abbrev=0`
 git_latest_tag = git_latest_tag.encode('utf-8').strip
-git_timestamp = `git log -n1 --first-parent --format=%ct`
+git_timestamp, git_hash = `git log -n1 --first-parent --format=%ct:%H .`.chomp.split(":")
 git_timestamp = Time.at(git_timestamp.to_i).utc
 
 Gem::Specification.new do |s|