-
Notifications
You must be signed in to change notification settings - Fork 975
Add conditional to download and apply RELEASES file on Windows #11153
Conversation
if he braveURL attribute is set in the metadata respone. This will download the version specified, not the latest version is happening before this commit. Auditors: @bbondy, @clifton Test plan: * Change version in package.json to something lower than current * Build browser on Windows * Install and check for updates * Ensure the following line is shown in SquirrelSetup.log It must contain a version number (0.19.16 in example below) 2017-09-25 18:04:13> CheckForUpdateImpl: Downloading RELEASES file from https://brave-download.global.ssl.fastly.net/multi-channel/releases/beta/0.19.16/winx64
Codecov Report
@@ Coverage Diff @@
## master #11153 +/- ##
==========================================
- Coverage 53.39% 53.38% -0.01%
==========================================
Files 253 253
Lines 21892 21895 +3
Branches 3421 3422 +1
==========================================
Hits 11689 11689
- Misses 10203 10206 +3
|
@aekeus I set the version in package.json to 0.15.0 and created an installer / installed. I wonder if I missed something? When running, I get the following error (from Squirrel logs):
|
This patch should ONLY be applied after all versions of the browser contain a valid RELEASES file in the Windows S3 bucket. Otherwise browsers will attempt to upgrade to a version specific release that contains neither a RELEASES file nor the required .nupkg file. |
@aekeus I realize this is a month later, but how can we ensure the following?
Would this be safe to pull into 0.20.x and merged? |
@aekeus is this ready to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; ready to land in 0.20.x. Will require manual testing (steps are called out here)
Add conditional to download and apply RELEASES file on Windows
Add conditional to download and apply RELEASES file on Windows
Add conditional to download and apply RELEASES file on Windows
if the braveURL attribute is set in the metadata response. This will
download the version specified, not the latest version as is happening
before this commit.
Auditors: @bbondy, @clifton
fixes: #11152
Test plan:
It must contain a version number (0.19.16 in example below)
2017-09-25 18:04:13> CheckForUpdateImpl: Downloading RELEASES file from
https://brave-download.global.ssl.fastly.net/multi-channel/releases/beta/0.19.16/winx64
Submitter Checklist:
git rebase -i
to squash commits (if needed).