Checks the repository before a release of Poney.
$ mix poney.release_check
This task is for work on Poney itself; the release alias runs it
before mix hex.publish, and nothing is published or tagged when it
fails. In any project but Poney, it stops with an error. It fetches
main and the tags from origin first, then fails when:
- the first heading of
CHANGELOG.mdis not this version's, with its date (## [0.1.0] - 2026-11-25): an## [Unreleased]heading above it means the changelog was not cut; - a
{:poney, "~> ..."}requirement in the README or a guide is not this version's series (~> 0.1for any 0.1.x); - the checkout is not
main, has uncommitted changes, or is not the commitorigin/mainpoints at; - the tag
v<version>already exists.