-
Notifications
You must be signed in to change notification settings - Fork 5
Deployment Guide
Nathan Willson edited this page Nov 29, 2022
·
2 revisions
A guide (for me) to remember the deployment steps since the process is a little different than a standard library.
Reference: https://hexdocs.pm/rustler_precompiled/precompilation_guide.html
- Create a tag and push it to origin:
git tag v0.1.6
git push --tags
- Wait for Github Actions to finish, which generates the new compiled nifs.
https://github.com/nbw/qrusty/actions
- Generate checksum
mix rustler_precompiled.download Qrusty.Native --all --print
The generated file doesn't need to be tracked/committed.
-
Run
mix hex.build --unpack
to check which files are going to be published -
Publish to Hex with
mix hex.publish