Update website translations on publish

This commit is contained in:
Kovid Goyal
2017-08-24 10:35:08 +05:30
parent 31e693cd09
commit 09d25c21e8
+2
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'])