Repository navigation
fix(cli): package the daemon plist template so the published crate compiles - #149
Merged
Merged
Conversation
…mpiles commands/daemon/install.rs embeds templates/com.vestige.daemon.plist.tmpl with include_str!, but the crate's include list omitted templates/**, so the tarball failed cargo's verify build and release-plz could not publish vestige 0.6.1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Why
The
release-plzrun on #148 (43174982235) published eight crates at 0.6.1, then failed on the last one:crates/vestige-cli/Cargo.tomlhas an explicitincludelist that omitstemplates/**, butcommands/daemon/install.rsembeds that template withinclude_str!. The file has been missing from the tarball since the daemon landed in V0.5.Consequence for 0.6.0:
vestige0.6.0 was published by the backfill step with--no-verify, so the crate on crates.io does not compile.cargo install vestigeis broken at 0.6.0 and that version should be yanked once 0.6.1 is out. Homebrew is unaffected (it builds from the git tarball).What
Add
templates/**to theincludelist.Verification
cargo package -p vestige(with verification, against the 0.6.1 dependencies now on crates.io) builds the tarball successfully locally.On merge
No
v0.6.1tag exists, sorelease-plzpublishes the one pending crate (vestige0.6.1, verified), tagsv0.6.1, and that triggers the binary Release and the Homebrew tap update.