Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #77 from shakenfist/fix-missing-pull
Browse files Browse the repository at this point in the history
Fix missing git pulls if we already have the branch.
  • Loading branch information
mandoonandy committed Oct 4, 2020
2 parents 84ef92e + ae7a225 commit b19122f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible/deployandtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ then
exit 1
fi
git checkout $branch
git pull
cd $cwd

for repo in client-python ansible-modules
Expand All @@ -201,6 +202,7 @@ then
if [ `git branch | grep -c $branch` -gt 1 ]
then
git checkout $branch
git pull
fi
cd $cwd
done
Expand Down

0 comments on commit b19122f

Please sign in to comment.