Skip to content

fix(release): rename broken hex.publish alias to emily.publish - #138

Merged
ausimian merged 1 commit into
mainfrom
fix/hex-publish-alias
May 31, 2026
Merged

fix(release): rename broken hex.publish alias to emily.publish#138
ausimian merged 1 commit into
mainfrom
fix/hex-publish-alias

Conversation

@ausimian

Copy link
Copy Markdown
Owner

Follow-up to #123 (#130). The "hex.publish": ["emily.checksums", "hex.publish"] alias doesn't work — Mix runs emily.checksums (regenerating the checksums) but then can't resolve the second hex.publish back to the Hex archive task: ** (Mix) The task "hex.publish" could not be found. (The clean-based check used in #123 didn't exercise the archive-task re-entry path.)

Fix

  • Rename the alias to a distinct mix emily.publish (["emily.checksums", "hex.publish"]) — a non-self-referential alias resolves fine — and add it to cli/0 preferred_envs as :docs.
  • A plain mix hex.publish still fails closed: it skips the regen, but hex.build errors on the git-ignored, not-yet-generated native_checksums.txt.
  • MAINTAINING.md step 4 now uses mix emily.publish.

Verified mix help hex.publish resolves to the real Hex task again (no longer "Alias for …") and mix help emily.publish shows the alias. Maintainer-only tooling; no consumer-facing or code change.

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`.
@ausimian
ausimian merged commit 48b4171 into main May 31, 2026
3 checks passed
@ausimian
ausimian deleted the fix/hex-publish-alias branch May 31, 2026 12:18
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.

1 participant