Hey everyone I’m building my first open-source library with Elixir, and would like some guidance on how to create a GitHub action for a version release, to essentially not having to do that manually.
Nowadays we have a patch version, and every time that I need do perform a version bump, it’s required to create a PR to manually update the
mix.ex, and then publish it to Hex.
The ideal DX would be to trigger a GitHub action that would do all of that stuff automatically:
- Bump version on
- Publish to Hex
- Update README.md
Also, another thing to consider is how to differentiate between a major, minor, and patch version bump.
Does anyone have experience in creating a type of action with those steps? Are there suggestions of tools for that?