This commit is contained in:
Marc Beninca 2020-05-01 16:55:42 +02:00
parent 18e5f43e55
commit 473ed7df42

View file

@ -34,11 +34,13 @@ def build():
run(command) run(command)
run(command) run(command)
pdf = f'{document}.pdf' pdf = f'{document}.pdf'
os.rename(os.path.join(TMP, pdf), pdf)
run(['gpg', run(['gpg',
'--armor', '--armor',
'--clear-sign', pdf, '--clear-sign', pdf,
]) ])
signature = f'{pdf}.asc'
for f in [pdf, signature]:
os.rename(os.path.join(TMP, f), f)
def clean(): def clean():