mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-11 06:17:08 +01:00
Check for README at the start of the basename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@78304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
7
build.py
7
build.py
@@ -592,9 +592,10 @@ def uploadPackage(fileName, KEEP=50):
|
||||
|
||||
# leave the last KEEP builds, including this new one, on the server
|
||||
for name in allFiles[:-KEEP]:
|
||||
if not name.startswith('README'):
|
||||
msg("Deleting %s" % name)
|
||||
ftp.delete(name)
|
||||
if os.path.basename(name).startswith('README'):
|
||||
continue
|
||||
msg("Deleting %s" % name)
|
||||
ftp.delete(name)
|
||||
|
||||
ftp.close()
|
||||
msg("Upload complete!")
|
||||
|
||||
Reference in New Issue
Block a user