scripts/oe-git-archive: fix pushing
Git arguments were badly laid out. (From OE-Core rev: cea9c1380891a85f686cb3b5cb42b6166f38e8d5) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
f4b5419787
commit
60f32a00dc
|
@ -231,9 +231,10 @@ def main(argv=None):
|
|||
# Push data to remote
|
||||
if args.push:
|
||||
cmd = ['push', '--tags']
|
||||
# If no remote is given we push with the default settings from
|
||||
# gitconfig
|
||||
if args.push is not True:
|
||||
cmd.extend(['--repo', args.push])
|
||||
cmd.append(branch_name)
|
||||
cmd.extend([args.push, branch_name])
|
||||
log.info("Pushing data to remote")
|
||||
data_repo.run_cmd(cmd)
|
||||
|
||||
|
|
Loading…
Reference in New Issue