Closed yuzs2 closed 2 years ago
We added a "git pull" before "git push" in driver/git.go, this is to ensure every push happens when the local repo is synced with the remote repo. Doing this we could avoid possible bugs.
All tests passed locally:
all tests passed! Removing intermediate container f1b9b08b7dde ---> 02c00f6ac274 Successfully built 02c00f6ac274 Successfully tagged semver-resource:latest
all checks passed, the sign-off is not missing
After the second look at the code, I think this PR is not needed. It already has a retry logic:
This PR is trying to resolve #124 , but I just realize the bug should be at:
As err
is local inside the loop, it cannot be returned.
@yuzs2 Could you please just close this PR?
Yes, I'm closing it since it's no need. Thanks for the review.
add a "git pull -r" before git push to ensure the push is done on the latest repo.