diff options
Diffstat (limited to 'spec/bundler/support/helpers.rb')
-rw-r--r-- | spec/bundler/support/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb index 731a2d9664..e487a86045 100644 --- a/spec/bundler/support/helpers.rb +++ b/spec/bundler/support/helpers.rb @@ -331,7 +331,7 @@ module Spec build_metadata = { :built_at => loaded_gemspec.date.utc.strftime("%Y-%m-%d"), - :git_commit_sha => sys_exec("git rev-parse --short HEAD", :dir => source_root).strip, + :git_commit_sha => git_commit_sha, } replace_build_metadata(build_metadata, dir: build_path) # rubocop:disable Style/HashSyntax |