In order to release a new version to Hex.pm we first need to:
- Write the changes in the
CHANGELOG.md
file - Update the
README.md
,CHANGELOG.md
,Cargo.toml
, andmix.exs
with the new version - Commit and create a tag for that version, while remembering to use a
v
prefix - Push the changes to the repository with:
git push origin main --tags
- Wait for the CI to build all release files
- Run
mix rustler_precompiled.download HumanName.Native --all --print
- Run
mix hex.publish
and make sure the checksum file is present in the list of files to be published.
It's important to ensure that we publish the checksum file with the package because otherwise the users won't be able to use the lib with precompiled files. They will need to always enforce compilation.