diff --git a/script/upload-index-json.py b/script/upload-index-json.py index 658719b761ca..05c6f38466bd 100755 --- a/script/upload-index-json.py +++ b/script/upload-index-json.py @@ -5,12 +5,10 @@ import sys import urllib2 from lib.config import s3_config -from lib.util import s3put, scoped_cwd, safe_mkdir +from lib.util import s3put, scoped_cwd, safe_mkdir, get_out_dir -# TODO: Update this entire file to point at the correct file names in the out -# directory SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) -OUT_DIR = os.path.join(SOURCE_ROOT, 'out', 'D') +OUT_DIR = get_out_dir() BASE_URL = 'https://electron-metadumper.herokuapp.com/?version='