HATCH-PUBLISH(1)

πŸ“¦
version 1.16.4 Β· 2 versions
, in epel 10, fedora 43, fedora 44

πŸš€ 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, --repo TEXT β€” the repository you're publishing artifacts to 🏠 [env var: HATCH_INDEX_REPO]
  • -u, --user TEXT β€” the user you authenticate as πŸ”‘ [env var: HATCH_INDEX_USER]
  • -a, --auth TEXT β€” the credentials used 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, which may optionally contain 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, 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, --publisher TEXT β€” the publisher plugin to use (default is index) 🧩 [env var: HATCH_PUBLISHER]
  • -o, --option TEXT β€” 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 is index) 🧩 [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:

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