mirror of https://gitlab.com/openlp/packaging.git
Compare commits
3 Commits
4d8d03fadf
...
b167315ae4
Author | SHA1 | Date |
---|---|---|
Tomas Groth | b167315ae4 | |
Tomas Groth | a9997b48fb | |
Tomas Groth | 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