From fa81c31a2444a57e1ef491e9f61bffd42aabfc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Thu, 16 Apr 2020 23:29:09 +0100 Subject: [PATCH] find-appcast: new case with endpoint (#80836) --- developer/bin/find-appcast | 2 ++ 1 file changed, 2 insertions(+) diff --git a/developer/bin/find-appcast b/developer/bin/find-appcast index fcb1fc7610..302617c5c8 100755 --- a/developer/bin/find-appcast +++ b/developer/bin/find-appcast @@ -46,6 +46,7 @@ def find_electron_builder(app) data = YAML.load_file(appcast_file) bucket = data['bucket'] channel = data['channel'] + endpoint = data['endpoint'] name = data['name'] owner = data['owner'] path = data['path'] @@ -63,6 +64,7 @@ def find_electron_builder(app) "https://s3.amazonaws.com/#{bucket}/#{path}/latest-mac.yml", "https://#{name}.#{region}.digitaloceanspaces.com/latest-mac.yml", "https://#{name}.#{region}.digitaloceanspaces.com/#{path}/latest-mac.yml", + "#{endpoint}/#{bucket}/#{path}/latest-mac.yml", ].map { |appcast| appcast.gsub(%r{(?