I’m doing an umbrella project with my partners and they configured a pre_commit. I did a rebase in my branch, but I have a problem to commit, I have this error:
The message you’re getting (“expected :version to be a valid Version” from Mix) is emitted here:
Is the git hook adjusting the contents of your mix.exs somehow to include branch metadata? The value in the error "0.0.1+" is what I’d expect if the hook was trying to produce "0.0.1+1db4539" or similar but hit an error fetching the SHA. The “fatal: not a git repository” parts suggest that as well…