mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Upload signatures first
This commit is contained in:
parent
bc8a7a9ed3
commit
e18c846e22
@ -262,6 +262,7 @@ class UploadToServer(Command): # {{{
|
|||||||
description = 'Upload miscellaneous data to calibre server'
|
description = 'Upload miscellaneous data to calibre server'
|
||||||
|
|
||||||
def run(self, opts):
|
def run(self, opts):
|
||||||
|
upload_signatures()
|
||||||
check_call('gpg --armor --detach-sign dist/calibre-*.tar.xz',
|
check_call('gpg --armor --detach-sign dist/calibre-*.tar.xz',
|
||||||
shell=True)
|
shell=True)
|
||||||
check_call('scp dist/calibre-*.tar.xz.asc divok:%s/signatures/'%DOWNLOADS,
|
check_call('scp dist/calibre-*.tar.xz.asc divok:%s/signatures/'%DOWNLOADS,
|
||||||
@ -272,7 +273,6 @@ class UploadToServer(Command): # {{{
|
|||||||
%(__version__, DOWNLOADS), shell=True)
|
%(__version__, DOWNLOADS), shell=True)
|
||||||
check_call('ssh divok /etc/init.d/apache2 graceful',
|
check_call('ssh divok /etc/init.d/apache2 graceful',
|
||||||
shell=True)
|
shell=True)
|
||||||
upload_signatures()
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# Testing {{{
|
# Testing {{{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user