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
andmix.exs
with the new version - commit and create a tag for that version
- push the changes to the repository with:
git push origin master --tags
- wait the CI to build all release files
- run
HTML5EVER_BUILD=1 mix rustler_precompiled.download Html5ever.Native --all --print
- copy the output of the mix task and add to the release notes
- run
mix hex.publish
and make sure the checksum file is present in the list of files to be published. Also make sure that thetarget
directory ofnative/html5ever_elixir
is NOT present.
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.