mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Ensure there are no unpushed changes in the local repo before running upload_to_server
This commit is contained in:
parent
5d84cd7913
commit
cb22155364
@ -254,6 +254,7 @@ class UploadToServer(Command): # {{{
|
||||
def run(self, opts):
|
||||
src_file = glob.glob('dist/calibre-*.tar.xz')[0]
|
||||
upload_signatures()
|
||||
check_call(['git', 'push'])
|
||||
check_call(['/home/kovid/work/env/private/gpg-as-kovid', '--armor', '--yes', '--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())
|
||||
|
Loading…
x
Reference in New Issue
Block a user