Some setup.py release fixes
This commit is contained in:
parent
de8b3b4c01
commit
e322027996
@ -273,8 +273,9 @@ def cmd_release(bundle_name, manifest):
|
|||||||
repo = os.environ['ACTIVITIES_REPOSITORY']
|
repo = os.environ['ACTIVITIES_REPOSITORY']
|
||||||
|
|
||||||
server, path = repo.split(':')
|
server, path = repo.split(':')
|
||||||
cmd = '"rm %s/%s*"' % (path, bundle_name)
|
retcode = subprocess.call(['ssh', server, 'mv',
|
||||||
retcode = subprocess.call(['ssh', server, cmd])
|
'%s/%s*' % (path, bundle_name),
|
||||||
|
'%s/old' % path])
|
||||||
if retcode:
|
if retcode:
|
||||||
print 'ERROR - cannot remove old bundles from the repository.'
|
print 'ERROR - cannot remove old bundles from the repository.'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user