Merge pull request #39 from suom1/patch-1

Passing branch to update_package()
This commit is contained in:
minitriga
2021-11-24 09:46:47 +00:00
committed by GitHub

View File

@ -415,7 +415,7 @@ def main():
if os.path.isdir('./repo'):
print(f"Package devicetype-library is already installed, "
+ f"updating {os.path.join(cwd, 'repo')}")
update_package('./repo')
update_package('./repo', branch=args.branch)
else:
repo = Repo.clone_from(args.url, os.path.join(cwd, 'repo'), branch=args.branch)
print(f"Package Installed {repo.remotes.origin.url}")