Commit 45084258 by David Baumgold

Merge pull request #4341 from edx/db/release-script-always-fetch

Always call `git fetch edx` before finding PR branches
parents 4cb1a510 326ca21d
...@@ -100,8 +100,8 @@ def ensure_pr_fetch(): ...@@ -100,8 +100,8 @@ def ensure_pr_fetch():
pr_fetch = '+refs/pull/*/head:refs/remotes/edx/pr/*' pr_fetch = '+refs/pull/*/head:refs/remotes/edx/pr/*'
if pr_fetch not in edx_fetches: if pr_fetch not in edx_fetches:
git.config("remote.edx.fetch", pr_fetch, add=True) git.config("remote.edx.fetch", pr_fetch, add=True)
git.fetch("edx")
modified = True modified = True
git.fetch("edx")
return modified return modified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment