changing exclusions list
This commit is contained in:
parent
0c9a3e45ae
commit
0f517e8085
|
|
@ -56,7 +56,7 @@ def buildAndPackage(branch, target, deploy):
|
|||
run(['scp', packageFile, f'{host}:{binariesDeploy}/{packageFile}'])
|
||||
else:
|
||||
packageFile = f'binaries-{deploy}-{tag}-{target}.tar.xz'
|
||||
run(['tar', '-cvzf', os.path.abspath(packageFile), '-C', f'zig-out-{tag}'])
|
||||
run(['tar', '-cvzf', os.path.abspath(packageFile), f'zig-out-{tag}'])
|
||||
run(['scp', packageFile, f'{host}:{binariesDeploy}/{packageFile}'])
|
||||
|
||||
os.makedirs(f'staging/sampleGame/{tag}', exist_ok=True)
|
||||
|
|
@ -68,10 +68,14 @@ def buildAndPackage(branch, target, deploy):
|
|||
'newProject.pdb',
|
||||
'toolbox.exe',
|
||||
'toolbox.pdb'
|
||||
'headless',
|
||||
'newProject',
|
||||
'toolbox'
|
||||
]
|
||||
|
||||
for f in os.listdir(f'zig-out-{tag}/bin'):
|
||||
shutil.copy(os.path.join(f'zig-out-{tag}/bin', f), f"staging/sampleGame/{tag}/")
|
||||
if f not in excludeList:
|
||||
shutil.copy(os.path.join(f'zig-out-{tag}/bin', f), f"staging/sampleGame/{tag}/")
|
||||
|
||||
if os.path.exists(f'zig-out-{tag}/modules'):
|
||||
os.makedirs('staging/sampleGame/zig-out/modules', exist_ok=True)
|
||||
|
|
@ -96,7 +100,7 @@ def buildAndPackage(branch, target, deploy):
|
|||
run(['scp', packageFile, f'{host}:{sampleGameDeploy}/{packageFile}'])
|
||||
else:
|
||||
packageFile = f'sampleGame-{deploy}-{target}.tar.xz'
|
||||
run(['tar', '-cvzf', os.path.abspath(packageFile), '-C', f'staging/sampleGame'])
|
||||
run(['tar', '-cvzf', os.path.abspath(packageFile), f'.'], cwd=os.path.join(os.getcwd(), 'staging/sampleGame'))
|
||||
run(['scp', packageFile, f'{host}:{sampleGameDeploy}/{packageFile}'])
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue