Aggiunto file per test con buildfile. Creati checksum anche per .zsync.

This commit is contained in:
Emiliano Vavassori 2022-04-09 01:41:48 +02:00
parent a3380cecc4
commit b0d1386b49
2 changed files with 13 additions and 0 deletions

View File

@ -359,6 +359,7 @@ class Build(object):
shutil.copyfile(self.zsyncfilename[arch], zsyncfilename[arch]) shutil.copyfile(self.zsyncfilename[arch], zsyncfilename[arch])
# Editing the zsyncfile # Editing the zsyncfile
subprocess.run(shlex.split(f"sed --in-place 's/^Filename:.*$/Filename: {appimagefilename[arch]}/' {zsyncfilename[arch]}")) subprocess.run(shlex.split(f"sed --in-place 's/^Filename:.*$/Filename: {appimagefilename[arch]}/' {zsyncfilename[arch]}"))
self.__create_checksum__(zsyncfilename[arch])
def __del__(self): def __del__(self):

12
test.yml Normal file
View File

@ -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