From e3c007adf0649ca04537e87eec2978392601d20e Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 20 Nov 2008 20:57:40 +0000 Subject: [PATCH] semi-automatic purge, assuming the browser is logged on as admin git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5773 212acab6-be3b-0410-9dea-997c60f758d6 --- Scripts/release.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Scripts/release.py b/Scripts/release.py index 021bf26c..b01a1a01 100644 --- a/Scripts/release.py +++ b/Scripts/release.py @@ -32,6 +32,7 @@ RSH="C:\Program Files\PuTTY\plink.exe" -2 -l kichik nsis.sourceforge.net SFTP="C:\Program Files\PuTTY\psftp.exe" -2 -l kichik -batch -b %s frs.sourceforge.net [wiki] +PURGE_URL=http://nsis.sourceforge.net/%s?action=purge UPDATE_URL=http://nsis.sourceforge.net/Special:Simpleupdate?action=raw [svn2cl] @@ -415,16 +416,17 @@ def UpdateWiki(release_id): update_wiki_page('Template:NSISReleaseDate', time.strftime('%B %d, %Y'), 'new version') update_wiki_page('Template:NSISReleaseID', release_id, 'new version') + os.system('start ' + PURGE_URL % 'Download') + def ToDo(): print 'automatic phase done\n' print """ - * %s * Edit update.php * Post news item * http://en.wikipedia.org/w/index.php?title=Nullsoft_Scriptable_Install_System&action=edit * Update Freshmeat * Update BetaNews - """ % (PURGE_URL % 'Download') + """ def CloseLog(): log('done')