mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-09 23:56:09 +01:00
Nicer solution to GPG boneheadedness
This commit is contained in:
parent
cfc40a68bb
commit
c70a3f9451
1 changed files with 1 additions and 2 deletions
|
|
@ -254,8 +254,7 @@ class UploadToServer(Command): # {{{
|
|||
def run(self, opts):
|
||||
src_file = glob.glob('dist/calibre-*.tar.xz')[0]
|
||||
upload_signatures()
|
||||
gpg = os.path.expanduser('~/work/env/private/gpg')
|
||||
check_call([gpg, '--armor', '--detach-sign', src_file])
|
||||
check_call(['gpg', '--armor', '--detach-sign', src_file])
|
||||
check_call(['scp', src_file + '.asc', 'code:/srv/code/signatures/'])
|
||||
check_call('ssh code /usr/local/bin/update-calibre-code.py'.split())
|
||||
check_call(('ssh code /apps/update-calibre-version.py ' + __version__).split())
|
||||
|
|
|
|||
Loading…
Reference in a new issue