# HG changeset patch # User koryspansel # Date 1316727487 25200 # Node ID 81d41316082410df068d399c95d67b48cc72703e # Parent a379bce1aeb1e69af75ac1495509af433a2c55a1 Added a release diff -r a379bce1aeb1 -r 81d413160824 LightTools/release.py --- a/LightTools/release.py Thu Sep 22 14:35:35 2011 -0700 +++ b/LightTools/release.py Thu Sep 22 14:38:07 2011 -0700 @@ -51,11 +51,7 @@ if not isdir(location): os.makedirs(location) - current_date = datetime.datetime.now() - suffix = current_date.strftime('%Y%m%d%I%M%p') - print suffix - - with zipfile.ZipFile(join(location, project + '.zip'), 'w') as handle: + with zipfile.ZipFile(join(location, project + datetime.datetime.now().strftime('%Y%m%d%I%M%p') + '.zip'), 'w') as handle: for filename in relative_walk(build): handle.write(join(build, filename), filename) diff -r a379bce1aeb1 -r 81d413160824 Release/LightClone201109220236PM.zip Binary file Release/LightClone201109220236PM.zip has changed