Skip to content

Commit

Permalink
package: checkout master before building
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Apr 28, 2017
1 parent e0e5c78 commit a32443e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/pypi/build-n-upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def main(args):
bash_cmd('git clean -xdf', cwd=bp_dir)

# Update the repos
bash_cmd('git checkout master', cwd=bp_dir)
ret = bash_cmd('git pull', cwd=bp_dir)
if args.only_on_changes and 'Already up-to-date' in ret:
log += "No changes to the git repos, exiting."
Expand Down

0 comments on commit a32443e

Please sign in to comment.