Merge branch '13497-controller'
[arvados.git] / sdk / ruby / arvados.gemspec
index cd9b5ddaba9fdf5cbeb2dec86f4723bbf3269e56..e39c4263177b8ed4f290c17cb744c309725c56bc 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|