release.py: Remove the archives after uploading to Sourceforge

Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
James Vega 2009-05-25 13:50:05 -04:00
parent 332a614eef
commit b170d5f9c3

View File

@ -130,12 +130,15 @@ if __name__ == '__main__':
print 'Uploading package files to upload.sf.net.' print 'Uploading package files to upload.sf.net.'
system('scp Supybot-%s.tar.gz Supybot-%s.tar.bz2 Supybot-%s.zip ' system('scp Supybot-%s.tar.gz Supybot-%s.tar.bz2 Supybot-%s.zip '
'%s@frs.sourceforge.net:uploads' % (v, v, v, u)) '%s@frs.sourceforge.net:uploads' % (v, v, v, u))
os.unlink('Supybot-%s.tar.gz' % v)
os.unlink('Supybot-%s.tar.bz2' % v)
os.unlink('Supybot-%s.zip' % v)
print 'Copying new version.txt over to project webserver.' print 'Copying new version.txt over to project webserver.'
system('echo %s > version.txt' % v) system('echo %s > version.txt' % v)
system('scp version.txt %s@web.sf.net:/home/groups/s/su/supybot/htdocs' system('scp version.txt %s@web.sf.net:/home/groups/s/su/supybot/htdocs'
%u) %u)
system('rm version.txt') os.unlink('version.txt')
# print 'Generating documentation.' # print 'Generating documentation.'
# # docFiles is in the format {directory: files} # # docFiles is in the format {directory: files}