mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-19 08:59:27 +01:00
release.py: Remove the archives after uploading to Sourceforge
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit b170d5f9c3
)
This commit is contained in:
parent
024a77af48
commit
a1286f8f43
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user