[0.2.7]
Added
mix hex.buildis a check, so a package that will not build — a git dependency, afiles:entry that is missing — fails before the bump, commit, tag and push.buildjoins the values--skipaccepts.
[0.2.5]
Fixed
- Hex prompts reach the terminal.
[0.2.3]
Added
mix publish current— uploads the version already inmix.exs, without bumping, committing or tagging. It requires the tag to exist locally, to be on the remote, to point at the same commit in both, andHEADto still be on it; the tarball is built from the working tree, so aHEADpast the tag would upload code the tag does not point at.--yesskips the confirmation prompt.
Changed
- Confirmation is asked once the checks have passed and before anything is written. Declining leaves the repository untouched.
Fixed
- A release completes its upload.
[0.2.0]
Added
- A README install-snippet check, run as a gate before anything is written.
Configured with
plumb: [readme: ...]inproject/0, off by default.:satisfiesrequires the version being released to satisfy the requirement the README names;:exactrequires the README to name~> MAJOR.MINORof it.:readme_pathdefaults toREADME.md. The version compared against is the one being released, not the one inmix.exs. readmejoinsformat,testanddocsas a value--skipaccepts.--allow-untracked— untracked files pass the clean-tree check. Tracked changes still block it; untracked files are never committed.
[0.1.0]
First release.
mix publish (major | minor | patch | VERSION)— verifies, bumpsmix.exs, commits, tags, pushes, and runsmix hex.publish.- Every check runs before anything is written, so a failed run leaves the
repository untouched: clean working tree, tag free locally, tag free on the
remote, then
mix format --check-formatted,mix testandmix docs. - The tag is pushed before the upload, so
source_refin the published docs resolves as soon as they are live. - The version is read from a
@versionattribute or a literalversion:in the project config. A version that is not a literal string is refused rather than guessed at. --dry-run,--remote NAME,--skip CHECKS.