fix
This commit is contained in:
parent
18e5f43e55
commit
473ed7df42
1 changed files with 3 additions and 1 deletions
|
@ -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():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue