How does Yotta look for tags and versions on GitHub? If I specify “https://github.com/my-repo.git~1.0.1” in my module dependencies, will it check out the “v1.0.1” tag (from my “v1.0.1” release on GitHub)? Or does it just check out the HEAD? If it doesn’t know to look for the “v1.0.1” tag on GitHub, how can I ensure Yotta is able to find the correct version of the module on GitHub?
I’ve seen this error trying to use an internal git repo:
error: Failed to satisfy dependencies of /home/aaron/myproject:
error: git repository “http://internal.server/module.git#branch_name~1.0.0” does not have any tags or branches matching “None”
And I’ve also seen this warning when I specify “http://internal.server/module.git#branch_name” without a version number:
info: get versions for module-name
warning: Using head of “branch_name” branch for “module-name”, not a tagged version
I want to make sure users do not have to wade through such problems once I put the module on GitHub.