mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-24 08:36:10 +01: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue