diff --git a/script/create-dist.py b/script/create-dist.py index 9e6b55bac2e..74edfa9b1be 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -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() diff --git a/script/upload.py b/script/upload.py index 348f44ba80c..d3853fb4915 100755 --- a/script/upload.py +++ b/script/upload.py @@ -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