Skip to content

Commit

Permalink
[release] ignore exit code 1
Browse files Browse the repository at this point in the history
  • Loading branch information
archibate committed Aug 24, 2022
1 parent 60f615d commit f045c44
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions misc/ci/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,20 @@
for target in os.listdir(binpath):
if 'so' in target.split('.'):
shutil.move(os.path.join(binpath, target), os.path.join(outpath, 'usr', 'lib', target))
subprocess.check_call([
'../linuxdeployqt',
os.path.join(outpath, 'usr', 'share', 'applications', 'zeno.desktop'),
#'-executable=' + os.path.join(outpath, 'usr', 'bin', 'zenorunner'),
'-bundle-non-qt-libs',
# '-unsupported-allow-new-glibc',
'-unsupported-bundle-everything',
])
try:
subprocess.check_call([
'../linuxdeployqt',
os.path.join(outpath, 'usr', 'share', 'applications', 'zeno.desktop'),
#'-executable=' + os.path.join(outpath, 'usr', 'bin', 'zenorunner'),
'-bundle-non-qt-libs',
# '-unsupported-allow-new-glibc',
'-unsupported-bundle-everything',
])
except subprocess.CalledProcessError as e:
if e.returncode != 1:
raise e from e
else:
print('ignored exit code 1 due to -unsupported flags')
subprocess.check_call([
'chmod',
'+x',
Expand Down

0 comments on commit f045c44

Please sign in to comment.