Update website translations on publish

This commit is contained in:
Kovid Goyal 2017-08-24 10:35:08 +05:30
parent 31e693cd09
commit 09d25c21e8
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -360,6 +360,8 @@ class UploadToServer(Command): # {{{
description = 'Upload miscellaneous data to calibre server'
def run(self, opts):
check_call('scp translations/website/locales.zip main:/srv/main/'.split())
check_call('ssh main /apps/static/generate.py'.split())
src_file = glob.glob('dist/calibre-*.tar.xz')[0]
upload_signatures()
check_call(['git', 'push'])