mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-11 03:42:16 +00:00
Run i18n.sh in gen-tarball.py.
This commit is contained in:
parent
8d7950ee22
commit
28c325eeae
@ -149,9 +149,9 @@ def main():
|
|||||||
if run('tar xf %s' % tmp_tarball) != 0:
|
if run('tar xf %s' % tmp_tarball) != 0:
|
||||||
error('failed to uncompress the tarball')
|
error('failed to uncompress the tarball')
|
||||||
|
|
||||||
# seahub_dir = os.path.join(tmpdir, 'seahub-%s' % version)
|
seahub_dir = os.path.join(tmpdir, 'seahub-%s' % version)
|
||||||
# if run('./i18n.sh compile-all', cwd=seahub_dir) != 0:
|
if run('./i18n.sh compile-all', cwd=seahub_dir) != 0:
|
||||||
# error('failed to compile messages')
|
error('failed to compile messages')
|
||||||
|
|
||||||
with open(os.path.join(seahub_dir, 'latest_commit'), 'w') as fp:
|
with open(os.path.join(seahub_dir, 'latest_commit'), 'w') as fp:
|
||||||
fp.write(latest_commit_info)
|
fp.write(latest_commit_info)
|
||||||
|
Loading…
Reference in New Issue
Block a user