From b0d1386b49852b2f2aafef22838708e6286169c0 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 9 Apr 2022 01:41:48 +0200 Subject: [PATCH] Aggiunto file per test con buildfile. Creati checksum anche per .zsync. --- loaih/__init__.py | 1 + test.yml | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 test.yml diff --git a/loaih/__init__.py b/loaih/__init__.py index 3ee146a..dbfbd82 100644 --- a/loaih/__init__.py +++ b/loaih/__init__.py @@ -359,6 +359,7 @@ class Build(object): shutil.copyfile(self.zsyncfilename[arch], zsyncfilename[arch]) # Editing the zsyncfile subprocess.run(shlex.split(f"sed --in-place 's/^Filename:.*$/Filename: {appimagefilename[arch]}/' {zsyncfilename[arch]}")) + self.__create_checksum__(zsyncfilename[arch]) def __del__(self): diff --git a/test.yml b/test.yml new file mode 100644 index 0000000..731b596 --- /dev/null +++ b/test.yml @@ -0,0 +1,12 @@ +--- +data: + repo: /mnt/appimage + download: /var/tmp/downloads + force: no + sign: yes + +builds: + - query: fresh + language: basic + offline_help: no + portable: no