Skip to main content

Publish

The required: field

Every publisher block accepts a required: field that controls whether a failure from that publisher fails the overall release.

homebrew_casks:
  - repository:
      owner: myorg
      name: homebrew-tap
    required: true   # release fails if the Homebrew cask push fails

required: sits on every publisher block the same way — the example above happens to show the top-level homebrew_casks array, but a per-crate publish.scoop, publish.cargo, or publish.homebrew_cask block takes it identically.

Behavior

ValueEffect
trueFailure here causes the release to exit non-zero.
falseFailure is logged but the release continues.
omitted (default)Falls through to the publisher's hardcoded default.

Per-publisher defaults

PublisherDefaultRationale
GitHub Releases (release:)trueCore delivery artifact; a failed release upload is always a blocker.
crates.io (cargo)trueRegistry publish is the primary artifact for library crates.
All othersfalseSecondary distribution channels; partial failures should not block the release.

Each per-publisher page lists its default in the Classification table and includes a required: snippet in the config reference.

Other publishers — Homebrew Casks (the canonical Homebrew publisher; deprecated Formula is documented separately), Homebrew Core (bump an existing homebrew-core formula), Scoop, Chocolatey, Winget, AUR, Krew, MCP registry, SchemaStore, crates.io, NPM, PyPI, Docker Hub, and others — are documented in their own pages.

Submitter publishers

Chocolatey, winget, and AUR Sources are submitter publishers: they push to an external moderation queue whose outcome is asynchronous. The submit itself succeeds when the queue accepts it; approval and going live come later.

required: true on a submitter publisher fails the release when the submission itself fails. The moderation outcome (queue rejection) arrives days after the release completes, so no setting can gate the release on it. With -v, anodizer prints an advisory saying so when it loads a config that sets required: true on one of these publishers; the per-publisher pages quote the line.