Skip to content

Deployment Guide

Nathan Willson edited this page Nov 29, 2022 · 2 revisions

Summary

A guide (for me) to remember the deployment steps since the process is a little different than a standard library.

Instructions

Reference: https://hexdocs.pm/rustler_precompiled/precompilation_guide.html

  1. Create a tag and push it to origin:
git tag v0.1.6
git push --tags
  1. Wait for Github Actions to finish, which generates the new compiled nifs.

https://github.com/nbw/qrusty/actions

  1. Generate checksum
mix rustler_precompiled.download Qrusty.Native --all --print

The generated file doesn't need to be tracked/committed.

  1. Run mix hex.build --unpack to check which files are going to be published

  2. Publish to Hex with mix hex.publish

Clone this wiki locally