]> khamidou — GitHub mirrors - electron.git/commitdiff
:lipstick:
authorCheng Zhao <zcbenz@gmail.com>
Wed, 21 Aug 2013 13:24:18 +0000 (21:24 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 21 Aug 2013 13:24:18 +0000 (21:24 +0800)
script/create-dist.py
script/upload.py

index 9e6b55bac2e95838a8fba1ec482a3ab8561432e0..74edfa9b1be601bac21c7c662396e5f781186faf 100755 (executable)
@@ -41,12 +41,12 @@ def main():
   rm_rf(DIST_DIR)
   os.makedirs(DIST_DIR)
 
-  # force_build()
-  # copy_binaries()
+  force_build()
+  copy_binaries()
   copy_headers()
   copy_license()
   create_version()
-  # create_zip()
+  create_zip()
   create_header_tarball()
 
 
index 348f44ba80cfd7157beb8b9b6447f61e69f768c3..d3853fb491514aacbf522261b9c5150e79b7975c 100755 (executable)
@@ -40,7 +40,7 @@ def dist_newer_than_head():
     try:
       head_time = subprocess.check_output(['git', 'log', '--pretty=format:%at',
                                            '-n', '1']).strip()
-      dist_time = os.path.getmtime(os.path.join(SOURCE_ROOT, 'atom-shell.zip'))
+      dist_time = os.path.getmtime(os.path.join(DIST_DIR, 'atom-shell.zip'))
     except OSError as e:
       if e.errno != errno.ENOENT:
         raise