rlsbl v0.40.1 /rlsbl.targets.hex
On this page

Hex (Elixir/Erlang) release target that manages version tracking in mix.exs and scaffolds CI workflows for publishing to hex.pm.

#rlsbl.targets.hex

#rlsbl.targets.hex

Hex (Elixir/Erlang) release target that manages version tracking in mix.exs and scaffolds CI workflows for publishing to hex.pm.

#HexTarget

Release target for Hex/Elixir projects (mix.exs).

#name

python
def name(self)

#detect

python
def detect(self, dir_path)

#read_name

python
def read_name(self, dir_path)

Extract app name from mix.exs.

#read_metadata

python
def read_metadata(self, dir_path)

Hex metadata extraction not yet implemented.

#read_version

python
def read_version(self, dir_path)

Read the version from mix.exs.

#write_version

python
def write_version(self, dir_path, version)

Write a new version to mix.exs.

Returns a list of relative file paths that were modified.

#version_file

python
def version_file(self)

#tag_format

python
def tag_format(self, version)

#template_dir

python
def template_dir(self)

#template_vars

python
def template_vars(self, dir_path)

Extract template variables from mix.exs.

#template_mappings

python
def template_mappings(self)

#publish

python
def publish(self, dir_path, version)

Publish to Hex based on per-target config and HEX_API_KEY availability.

#check_project_exists

python
def check_project_exists(self, dir_path)

#get_project_init_hint

python
def get_project_init_hint(self)

#dev_install_command

python
def dev_install_command(self, project_dir)