create tarball

This commit is contained in:
Tomas Groth 2024-02-19 17:12:30 +01:00
parent af6f69f5d6
commit e1d5bf6275
1 changed files with 7 additions and 2 deletions

View File

@ -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__':