Skip to content
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

Muxers: Clean up old artifacts if build fails #246

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

IanDBird
Copy link
Contributor

This is a follow on from: #243

I noticed that we correctly checked the expected MD5 of the downloaded file, however, if it failed verification, the old file would remain downloaded. This meant that if the user tried to build again, it would succeed - potentially using a corrupt or invalid file.

This change detects a download (or verification) error and just makes sure that we delete the file.

@izzytwosheds izzytwosheds merged commit 05684aa into linkedin:main Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants