mirror of https://gitlab.com/openlp/packaging.git
create tarball
This commit is contained in:
parent
af6f69f5d6
commit
e1d5bf6275
|
@ -45,6 +45,7 @@ config.ini.default
|
|||
|
||||
import glob
|
||||
import os
|
||||
import platform
|
||||
from pathlib import Path
|
||||
from shutil import copy, copytree, move, rmtree
|
||||
|
||||
|
@ -97,9 +98,13 @@ class LinuxBuilder(Builder):
|
|||
|
||||
def build_package(self):
|
||||
"""
|
||||
Build the actual DMG
|
||||
Build the tar.gz
|
||||
"""
|
||||
pass
|
||||
self._print('Creating tar.gz bundle...')
|
||||
# TODO: rename OpenLP folder to include version number?
|
||||
cmd = 'tar -zcf OpenLP-bin-linux-{machine}.tar.gz OpenLP'.format(machine=platform.machine())
|
||||
os.system(cmd)
|
||||
self._print('Created tar.gz bundle.')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Reference in New Issue