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

CI: replace validation of zip compression with create-foxglove-extension minimum version #37

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

jtbandes
Copy link
Member

Changelog

None

Docs

None

Description

In #32, I added a CI check to validate that .foxe zip files actually use compression (a bug fixed in foxglove/create-foxglove-extension#147). However, it turns out this check was broken because when loading a zip file with JSZip, zipObj.options.compression is not set even if the file was compressed. This PR replaces it with an alternative approach where we read the version of create-foxglove-extension from the extension's package.json and validate that it's >=1.0.3.

@defunctzombie defunctzombie merged commit 82ed820 into main Sep 27, 2024
1 check passed
@defunctzombie defunctzombie deleted the jacob/fix-compressed-validation branch September 27, 2024 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants