mirror of https://gitlab.com/openlp/packaging.git
Ensure that exporting files from git ends up in the target folder.
This commit is contained in:
parent
c0bf1c1af3
commit
1f813bcaf3
|
@ -264,7 +264,8 @@ class Builder(object):
|
|||
if os.path.exists(self.work_path):
|
||||
rmtree(self.work_path)
|
||||
self._print('Exporting the release version...')
|
||||
self._git('checkout-index', self.branch_path, ['-f', '-a', '--prefix={folder}'.format(folder=self.work_path)],
|
||||
# Note that it is very important that the prefix ends with a slash to get the files into the folder
|
||||
self._git('checkout-index', self.branch_path, ['-f', '-a', '--prefix={folder}/'.format(folder=self.work_path)],
|
||||
'Error exporting the code')
|
||||
|
||||
def get_extra_parameters(self):
|
||||
|
|
Loading…
Reference in New Issue