From 521c3dcd1d9356a807e4eb92c8d2aa3c9c09eaad Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Fri, 7 Apr 2023 14:48:45 -0400 Subject: [PATCH] Fix Chromium publish script for uBO Lite --- dist/mv3/chromium/publish-beta.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/mv3/chromium/publish-beta.py b/dist/mv3/chromium/publish-beta.py index 18ecae4ae..d635a9613 100755 --- a/dist/mv3/chromium/publish-beta.py +++ b/dist/mv3/chromium/publish-beta.py @@ -15,11 +15,11 @@ import zipfile from distutils.version import StrictVersion from string import Template -# - Download target (raw) uBOLite_*.mv3.zip from GitHub +# - Download target (raw) uBOLite_*.chromium.mv3.zip from GitHub # - This is referred to as "raw" package # - This will fail if not a dev build -# - Upload uBOLite_*.mv3.zip to Chrome store -# - Publish uBOLite_*.mv3.zip to Chrome store +# - Upload uBOLite_*.chromium.mv3.zip to Chrome store +# - Publish uBOLite_*.chromium.mv3.zip to Chrome store # Find path to project root projdir = os.path.split(os.path.abspath(__file__))[0] @@ -93,10 +93,10 @@ release_info = response.json() # Extract URL to raw package from metadata # -# Find url for uBOLite_*.mv3.zip +# Find url for uBOLite_*.chromium.mv3.zip raw_zip_url = '' for asset in release_info['assets']: - if re.search('uBOLite_\d+.\d+.\d+.\d+.mv3.zip', asset['name']): + if re.search('uBOLite_\d+.\d+.\d+.\d+.chromium.mv3.zip', asset['name']): raw_zip_url = asset['url'] raw_zip_filename = asset['name'] raw_zip_filepath = os.path.join(tmpdir.name, raw_zip_filename)