HATCH-PUBLISH(1)
π HATCH-PUBLISH(1) β the "put your build artifacts out into the world" one
okay bestie so this is a User Commands page (that's the manual it lives in, mwah) and it's all about hatch publish, aka the moment your lil build artifacts get to leave the nest and go be famous π
β¨ NAME β¨
hatch publish β Publish build artifacts π
like. that's it. that's the whole job. you made the thing, now you ship the thing.
πΈ SYNOPSIS πΈ
hatch publish [OPTIONS] [ARTIFACTS]...
so you run it, you optionally hand it some ARTIFACTS, and it does the publish-y thing. no cap.
π OPTIONS π
every single one of these, coming right up, no skips, no summarising, we don't do that here:
-r,--repoTEXT β the repository you're publishing artifacts to π [env var:HATCH_INDEX_REPO]-u,--userTEXT β the user you authenticate as π [env var:HATCH_INDEX_USER]-a,--authTEXT β the credentials used for authentication π€« [env var:HATCH_INDEX_AUTH]--ca-certTEXT β the path to a CA bundle π [env var:HATCH_INDEX_CA_CERT]--client-certTEXT β the path to a client certificate, which may optionally contain the private key πͺͺ [env var:HATCH_INDEX_CLIENT_CERT]--client-keyTEXT β the path to the client certificate's private key ποΈ [env var:HATCH_INDEX_CLIENT_KEY]-n,--no-promptβ disable prompts, like the ones for missing required fields π ββοΈ--initialize-authβ save first-time authentication info even if nothing was published π (yes, even then. it's giving "prepared")-p,--publisherTEXT β the publisher plugin to use (default isindex) π§© [env var:HATCH_PUBLISHER]-o,--optionTEXT β options to pass to the publisher plugin. you can pick this 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 π
these are the env vars, and every one of them has a matching option, so pick your fighter:
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 isindex) π§© [option:-p,--publisher]HATCH_PUBLISHER_OPTIONSβ options to pass to the publisher plugin ποΈ [option:-o,--option]
π SEE ALSO π
the whole friend group, go say hi:
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-self(1)hatch-shell(1)hatch-status(1)hatch-test(1)hatch-version(1)
and obviously the main character herself: hatch(1) π
this page is hatch-publish(1), born August 2024, and it ate. periodt. π«Άπ
π¦ where this page comes from
- epel 10: hatch 1.15.1-2.el10_3 Β· MIT
- fedora 43: hatch 1.14.2-2.fc43 Β· MIT
- fedora 43: hatch 1.15.1-1.fc43 Β· MIT
- fedora 44: hatch 1.16.4-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms