hatch-publish - Man Page

hatch publish – Publish build artifacts

Synopsis

hatch publish [Options] [ARTIFACTS]...

Options

-r,  --repo TEXT

The repository with which to publish artifacts [env var: HATCH_INDEX_REPO]

-u,  --user TEXT

The user with which to authenticate [env var: HATCH_INDEX_USER]

-a,  --auth TEXT

The credentials to use for authentication [env var: HATCH_INDEX_AUTH]

--ca-cert TEXT

The path to a CA bundle [env var: HATCH_INDEX_CA_CERT]

--client-cert TEXT

The path to a client certificate, optionally containing the private key [env var: HATCH_INDEX_CLIENT_CERT]

--client-key TEXT

The path to the client certificate’s private key [env var: HATCH_INDEX_CLIENT_KEY]

-n,  --no-prompt

Disable prompts, such as for missing required fields

--initialize-auth

Save first-time authentication information even if nothing was published

-p,  --publisher TEXT

The publisher plugin to use (default is index) [env var: HATCH_PUBLISHER]

-o,  --option TEXT

Options to pass to the publisher plugin. This may be selected multiple times e.g. -o foo=bar -o baz=23 [env var: HATCH_PUBLISHER_OPTIONS]

-y,  --yes

Confirm without prompting when the plugin is disabled

-h,  --help

Show a help message and exit

Environment

HATCH_INDEX_REPO

The repository with which to publish artifacts [option: -r, --repo]

HATCH_INDEX_USER

The user with which to authenticate [option: -u, --user]

HATCH_INDEX_AUTH

The credentials to use for authentication [option: -a, --auth]

HATCH_INDEX_CA_CERT

The path to a CA bundle [option: --ca-cert]

HATCH_INDEX_CLIENT_CERT

The path to a client certificate, optionally containing the private key [option: --client-cert]

HATCH_INDEX_CLIENT_KEY

The path to the client certificate’s private key [option: --client-key]

HATCH_PUBLISHER

The publisher plugin to use (default is index) [option: -p, --publisher]

HATCH_PUBLISHER_OPTIONS

Options to pass to the publisher plugin [option: -o, --option]

See Also

hatch-build(1), hatch-clean(1), hatch-config(1), hatch-dep(1), hatch-env(1), hatch-fmt(1), hatch-new(1), hatch-project(1), hatch-python(1), hatch-run(1), hatch-shell(1), hatch-status(1), hatch-version(1)

hatch(1)

Referenced By

hatch(1), hatch-build(1), hatch-clean(1), hatch-config(1), hatch-dep(1), hatch-env(1), hatch-fmt(1), hatch-new(1), hatch-project(1), hatch-python(1), hatch-run(1), hatch-shell(1), hatch-status(1), hatch-version(1).

December 2023