Additional debug output from post_upload.py
This commit is contained in:
parent
e0504be7cf
commit
deeeddbfbb
1 changed files with 2 additions and 0 deletions
|
@ -89,7 +89,9 @@ for file in incomingFiles:
|
||||||
m = re.match(r'(\w+)-\d+\.\d+\.\d+-([\w-]+)' + suffix, file)
|
m = re.match(r'(\w+)-\d+\.\d+\.\d+-([\w-]+)' + suffix, file)
|
||||||
latestName = m.group(1) + '-latest-' + m.group(2) + suffix
|
latestName = m.group(1) + '-latest-' + m.group(2) + suffix
|
||||||
|
|
||||||
|
print "Creating symlink from " + file + " to " + latestName
|
||||||
if os.path.exists(latestName):
|
if os.path.exists(latestName):
|
||||||
|
print "\tremoving existing target"
|
||||||
os.remove(latestName)
|
os.remove(latestName)
|
||||||
os.symlink(file, latestName)
|
os.symlink(file, latestName)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue