1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 22:56:15 +01:00

list appimage build results

This commit is contained in:
Adrian Schröter 2017-03-15 10:31:51 +01:00
parent 8bb903f41c
commit 3ab3ff0b1c

View File

@ -363,6 +363,11 @@ def get_built_files(pacdir, buildtype):
'-name', '*.snap'],
stdout=subprocess.PIPE).stdout.read().strip()
s_built = ''
elif buildtype == 'appimage':
b_built = subprocess.Popen(['find', os.path.join(pacdir, 'OTHER'),
'-name', '*.AppImage'],
stdout=subprocess.PIPE).stdout.read().strip()
s_built = ''
else:
print('WARNING: Unknown package type \'%s\'.' % buildtype, file=sys.stderr)
b_built = ''