new tar wants exclude before folder
This commit is contained in:
parent
73b8658c99
commit
6ac693e705
3 changed files with 5 additions and 2 deletions
|
@ -238,7 +238,7 @@ def command_release(*args):
|
|||
for module in MODULES:
|
||||
tar = join('updates', '%s-%s.tar.bz2' % (module, VERSIONS[module]))
|
||||
if not exists(tar):
|
||||
cmd = ['tar', 'cvjf', tar, '%s/' % module] + EXCLUDE
|
||||
cmd = ['tar', 'cvjf', tar] + EXCLUDE
|
||||
if module in ('openmedialibrary', ):
|
||||
cmd += ['--exclude', '*.pyc']
|
||||
if module == 'openmedialibrary':
|
||||
|
@ -247,6 +247,7 @@ def command_release(*args):
|
|||
cmd += ['--exclude', 'oxjs/examples']
|
||||
if module == 'platform_win32':
|
||||
cmd += ['--exclude', 'build', '--exclude', 'dist']
|
||||
cmd += [module + '/']
|
||||
run(*cmd)
|
||||
release = {}
|
||||
release['modules'] = {module: {
|
||||
|
|
|
@ -625,6 +625,7 @@ class Sort(db.Model):
|
|||
state.db.session.commit()
|
||||
return f
|
||||
|
||||
|
||||
Item.sort_keys = []
|
||||
for key in config['itemKeys']:
|
||||
if key.get('sort'):
|
||||
|
|
|
@ -236,6 +236,7 @@ class User(db.Model):
|
|||
Changelog.record(self, 'editcontact', settings.preferences.get('contact'), _commit=False)
|
||||
state.db.session.commit()
|
||||
|
||||
|
||||
list_items = sa.Table('listitem', db.metadata,
|
||||
sa.Column('list_id', sa.Integer(), sa.ForeignKey('list.id')),
|
||||
sa.Column('item_id', sa.String(32), sa.ForeignKey('item.id')))
|
||||
|
|
Loading…
Reference in a new issue