fix(release): rename broken hex.publish alias to emily.publish - #138
Merged
Conversation
The `"hex.publish": ["emily.checksums", "hex.publish"]` alias added in the supply-chain work (#123) doesn't work: Mix runs the first step but can't resolve the second `hex.publish` back to the Hex archive task ("The task hex.publish could not be found"), so publishing fails after the checksums are regenerated. Rename it to a distinct `mix emily.publish` (a non-self-referential alias resolves fine) and give it the :docs preferred env. A plain `mix hex.publish` still fails closed — `hex.build` errors on the git-ignored, not-yet-generated `native_checksums.txt`. Update the MAINTAINING.md release runbook to use `mix emily.publish`.
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.
Follow-up to #123 (#130). The
"hex.publish": ["emily.checksums", "hex.publish"]alias doesn't work — Mix runsemily.checksums(regenerating the checksums) but then can't resolve the secondhex.publishback to the Hex archive task:** (Mix) The task "hex.publish" could not be found. (Theclean-based check used in #123 didn't exercise the archive-task re-entry path.)Fix
mix emily.publish(["emily.checksums", "hex.publish"]) — a non-self-referential alias resolves fine — and add it tocli/0preferred_envsas:docs.mix hex.publishstill fails closed: it skips the regen, buthex.builderrors on the git-ignored, not-yet-generatednative_checksums.txt.MAINTAINING.mdstep 4 now usesmix emily.publish.Verified
mix help hex.publishresolves to the real Hex task again (no longer "Alias for …") andmix help emily.publishshows the alias. Maintainer-only tooling; no consumer-facing or code change.