-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release pipeline #178
Release pipeline #178
Conversation
55ce25b
to
066a83a
Compare
@@ -140,11 +141,14 @@ fn download_cef(cef_root_path: &Path) -> Result<()> { | |||
let download_path = cef_root_path | |||
.parent() | |||
.context("Failed to retrieve CEF_ROOT parent directory")?; | |||
let url = format!("https://cef-builds.spotifycdn.com/cef_binary_117.1.4%2Bga26f38b%2Bchromium-117.0.5938.92_{platform}_minimal.tar.bz2"); | |||
let url = format!("https://cef-builds.spotifycdn.com/cef_binary_115.3.11%2Bga61da9b%2Bchromium-115.0.5790.114_{platform}_minimal.tar.bz2"); |
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.
temporary revert to make sure it builds
let client = reqwest::blocking::ClientBuilder::new() | ||
.timeout(Duration::from_secs(2 * 60)) | ||
.build()?; | ||
let resp = client.get(url).send()?; | ||
let resp = client.get(&url).send()?; | ||
if resp.status() != StatusCode::OK { |
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.
send throws error only when request itself fails, responses like 404 are considered success, so we need to check status code explicitlly
9206509
to
a69f5bb
Compare
a69f5bb
to
adaba57
Compare
Merging because I need to verify some things on master, I'll address any comments in follow up. |
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
panic!( | ||
"Build process helper first: cargo build --bin process_helper. {:?}", | ||
err |
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.
Maybe add note about -r
Release process for Linux binaries + docs