Remove what turns into a double-upload (since it returns when renaming and then also picks up the renamed one)

See https://staging.ci.brave.com/job/brave-browser-build-darwin-upload/63/console for an example of failure

Auditors: @mbacchi
This commit is contained in:
Brian Clifton
2018-10-17 17:05:58 -07:00
parent 5416bc54e1
commit 04978666e7
-2
View File
@@ -108,8 +108,6 @@ def yield_brave_packages(dir, channel, version):
elif file == 'Brave Browser.pkg':
if os.path.isfile(rename_and_get_desired_path(file_path, file_desired_pkg)):
yield file_desired_pkg
elif file == file_desired_pkg:
yield file
else:
file_desired = 'Brave-Browser-' + channel_capitalized + '.dmg'
if re.match(r'Brave Browser ' + channel_capitalized + r'.*\.dmg$', file):