refs #13339 "Merge branch '13339-update-gemspecs-new-versioning'".
[arvados.git] / services / login-sync / arvados-login-sync.gemspec
index 3ff498e6d870a6d4789dbda99399f8e5072281fa..4fb31a742e91ea76372f6fa8986748dde7414d21 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|