diff --git a/script/upload.py b/script/upload.py index 67435e9325d..48e8f5cca9a 100755 --- a/script/upload.py +++ b/script/upload.py @@ -93,7 +93,7 @@ def yield_brave_packages(dir, channel, version): for _, _, files in os.walk(dir): for file in files: if PLATFORM == 'darwin': - if re.match(r'Brave-Browser-' + channel.capitalize() + r'.*\.dmg$', file): + if re.match(r'Brave Browser ' + channel.capitalize() + r'.*\.dmg$', file): yield file elif PLATFORM == 'linux': if re.match(r'brave-browser-' + channel + '_' + version + r'.*\.deb$', file) \