#Git repo dependency not updating

6 messages · Page 1 of 1 (latest)

next pelican
#

I have a couple of custom dependencies in my app pulling from a separate git repo:

{:gen_auth, git: "https://github_path/gen_auth.git"},
      {:gen_auth_cognito_adapter,
       git: "https://github_path/gen_auth_cognito_adapter.git"},

When I run mix deps.get, it fetches the dependency from the url as shown.

I updated each of the repos, pushed the version, sycn'd with the main branch and rerun mix deps.get. When I look in my deps folder, it does not update these git deps. When I delete my deps folder and rerun mix deps.get, it still isn't updating this. Am I missing a key step here?

brittle bough
#

you need to do mix deps.update gen_auth

next pelican
#

ah cool

brittle bough
#

dependencies become locked depending on how they're declared. You've declared a git dep, which will lock it at a specific commit

next pelican
#

didn't know about that interface

#

thanks