- Install dependencies
mix local.rebar --force mix local.hex --force mix deps.get
- Run tests
mix coveralls.json
- Increase the project version in
mix.exs
. - Commit & Push
Use the same version for the git tag as in mix.exs
.
-
Via git tag
- Create a new version tag.
git tag v[MAJOR].[MINOR].[PATCH]
Example:
git tag v1.0.1
- Push the tag.
git push origin --tags
- Create a new version tag.
-
Via Github release
Create a new Github release with a new version tag and release notes.
Make sure the new version is available on hex.pm.
Update and test sample apps with the new SDK version.