[1/x] Fix CLI archiving and distribution #260
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Stack
📚 #266 [6/x] Update example projects to use 0.19.1
📚 #265 [5/x] Fix support for Swift library evolution
📚 #264 [4/x] Fix configurator relative path handling
📚 #263 [3/x] Fix package manager integrations
📚 #261 [2/x] Archive supporting sources in release workflow
📚 #260 ← [1/x] Fix CLI archiving and distribution
Overview
The new automation pipeline uses ZIP Foundation to create archives of the build products. Unfortunately, ZIP Foundation produces malformed CRCs for the mockingbird binary executable (see weichsel/ZIPFoundation#229). This change replaces ZIP Foundation with the Unix
zip
command and fixes how theMockingbird.zip
archive is inflated by the CLI launcher.Test Plan
Uploading the binary to staging and pointing the CLI launcher to it works as expected:
We don’t currently have E2E tests to cover the CLI launcher, but we should add some once 0.19.0 is live. Tracked here: https://github.com/birdrides/mockingbird/projects/2#card-75760097