-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle the case when local cookiecutter template isn't in the correct branch #76
Comments
Btw, it seems that the problem of not ensuring it's in the right branch is what was causing errors like:
Which happens because the master branch of the templates isn't a valid template (doesn't have a |
I think this makes a lot of sense and would be especially useful when testing briefcase builds against multiple python versions. My only suggestion is ensuring that |
Hm right, that makes sense. 👍 |
I'm pretty sure updating |
When briefcase runs cookiecutter it tells it to check out the branch that corresponds to the Python major.minor version being used.
However, cookiecutter does not do that when given the directory path to the git repo, so briefcase should checkout the right branch when deciding to reuse the local template.
I think it makes sense to do
git checkout BRANCH_NAME
inside of the git_pull() method, just before doing the pull.The text was updated successfully, but these errors were encountered: