Commands: publish
Publish turns a module into a coordinate. publish local is the one you use while
developing. The release commands are for a ship number, and they refuse to run unless
the session says this is a release. The Publish page explains how a ship differs from
the Histos pin.
/** How a release publish finishes. The build chooses it. One run can still force automatic. */
enum ReleaseModepublish local
histos publish local writes the snapshot coordinate of this commit into the local Ivy repository. It does not upload. Another project on this machine can then depend on it. histos publish snapshots publishes that coordinate.
publish withdraw
histos publish withdraw removes those local Ivy revisions, and the toolchain directory for this commit. The pin in build.properties stays.
publish snapshots
histos publish snapshots publishes the snapshot coordinate of this commit to the snapshot repository.
publish release
histos publish release publishes the number on the ship's .next. It runs only when
HISTOS_SESSION=release. --automatic publishes and waits until the portal reports the
deployment published. Central shows that deployment as organization ship version.
publish assets
histos publish assets uploads a packaged file once the deployment is validated and the GitHub release exists.
publish promote
histos publish promote <deployment> promotes a deployment that was held for a check.
publish drop
histos publish drop <deployment> drops a held deployment instead of promoting it.
bump
histos bump moves .next forward once a published stable release has caught the number
that is written there. --major, --minor, and --patch choose which part moves. It
does not change histos.version.
portal
histos portal rehearses the Maven Central portal on loopback, so you can see the upload conversation without publishing.