changeset 47:81d413160824

Added a release
author koryspansel
date Thu, 22 Sep 2011 14:38:07 -0700
parents a379bce1aeb1
children 4663f93aefc4
files LightTools/release.py Release/LightClone201109220236PM.zip
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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)
 
Binary file Release/LightClone201109220236PM.zip has changed