How to use Git tags with semantic versioning in mix.exs?

A tag is a direct Pin. You can not change that. You have to use branches instead, but thats a lot of overhead in terms of housekeeping the branches, especially if you want to maintain them roughly semver compatible for all three parts of the version.

Perhaps you can use a private hex repo? On a quick search I found this thread:

Also there is mix hex.repo to manage repositories.

2 Likes