Updated
On this page
Hex pipeline implementation that publishes Elixir and Erlang packages to hex.pm, authenticating via the HEX_API_KEY environment variable.
#rlsbl.pipelines.hex
#rlsbl.pipelines.hex
Hex pipeline implementation that publishes Elixir and Erlang packages to hex.pm, authenticating via the HEX_API_KEY environment variable.
#HexPipeline
Pipeline that publishes Elixir packages to hex.pm.
#template_dir
python
def template_dir(self) -> str | NoneReturn the Hex CI templates directory.
#template_mappings
python
def template_mappings(self, ctx) -> list[dict[str, str]]Return the hex.pm publish workflow mapping.
#publish
python
def publish(self, dir_path: str, version: str, ctx) -> NonePublish to hex.pm, probing first to skip duplicates.
#_publish_command
python
def _publish_command(self, dir_path: str, version: str, token: str) -> NoneRun mix hex.publish --yes with the HEX_API_KEY.