Skip to content

Commit

Permalink
Update remote to upstream (#1591)
Browse files Browse the repository at this point in the history
Co-authored-by: Bradley Sappington <101193271+BradleySappington@users.noreply.github.com>
  • Loading branch information
bhilbert4 and BradleySappington committed May 16, 2024
1 parent c9033f3 commit e76f01a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions jwql/pull_jwql_branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ echo "Reset: $reset";
echo "Notify: $notify $recipient";

# 1. Pull updated code from GitHub deployment branch (keep second checkout in case its already defined for some weird reason)
git fetch origin
git checkout -b $branch_name --track origin/$branch_name
git fetch upstream
git checkout -b $branch_name --track upstream/$branch_name
git checkout $branch_name
git fetch origin $branch_name
git pull origin $branch_name
git fetch origin --tags
git fetch upstream $branch_name
git pull upstream $branch_name
git fetch upstream --tags

# 2. Bring the service down
if [ "$reset" = true ]; then
Expand Down

0 comments on commit e76f01a

Please sign in to comment.