Skip to content

Commit

Permalink
Merge pull request #2 from bdougie/remove-hardcoded-master
Browse files Browse the repository at this point in the history
bug fix - replace hardcode ref to master branch
  • Loading branch information
aormsby committed Sep 21, 2020
2 parents 40511eb + 257dd4a commit e5dcb61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upstream-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ git remote add upstream "${UPSTREAM_REPO}"
# git remote -v

# check latest commit hashes for a match, exit if nothing to sync
git fetch upstream master
git fetch upstream "${INPUT_UPSTREAM_BRANCH}"
LOCAL_COMMIT_HASH=$(git rev-parse "${INPUT_TARGET_BRANCH}")
UPSTREAM_COMMIT_HASH=$(git rev-parse upstream/"${INPUT_UPSTREAM_BRANCH}")

Expand Down

0 comments on commit e5dcb61

Please sign in to comment.