Skip to content

Commit

Permalink
feat: use lib/pact/provider_verifier/git.rb to get git sha
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Jan 20, 2020
1 parent 6a18728 commit 2dd3591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pact/provider_verifier/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module Pact
module ProviderVerifier
module Git
COMMAND = 'git name-rev --name-only HEAD'.freeze
COMMAND = 'git rev-parse --abbrev-ref HEAD'.freeze
BRANCH_ENV_VAR_NAMES = %w{BUILDKITE_BRANCH CIRCLE_BRANCH TRAVIS_BRANCH GIT_BRANCH GIT_LOCAL_BRANCH APPVEYOR_REPO_BRANCH CI_COMMIT_REF_NAME}.freeze

def self.branch
Expand Down

0 comments on commit 2dd3591

Please sign in to comment.