def create_zip():
print "Zipping distribution..."
- zip_file = os.path.join(SOURCE_ROOT, 'atom-shell.zip')
+ zip_file = os.path.join(SOURCE_ROOT, 'dist', 'atom-shell.zip')
safe_unlink(zip_file)
with scoped_cwd(DIST_DIR):
SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
+DIST_DIR = os.path.join(SOURCE_ROOT, 'dist')
def main():
def upload():
- os.chdir(SOURCE_ROOT)
+ os.chdir(DIST_DIR)
bucket, access_key, secret_key = s3_config()
version = get_atom_shell_version()
- s3put(bucket, access_key, secret_key, SOURCE_ROOT,
+ s3put(bucket, access_key, secret_key, DIST_DIR,
'atom-shell/{0}'.format(version), glob.glob('atom-shell*.zip'))
update_version(bucket, access_key, secret_key)