-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
I have the following git remotes locally:
> git remote -v origin git@github.com:kevinAlbs/mongo-c-driver.git (fetch) origin git@github.com:kevinAlbs/mongo-c-driver.git (push) upstream git@github.com:mongodb/mongo-c-driver.git (fetch) upstream git@github.com:mongodb/mongo-c-driver.git (push)
So "origin" is my fork, and "upstream" is mongodb/mongo-c-driver. When I run calc_release_version.py on the master branch, the script inspects the output of "git show-ref" and looks for refs from origin. But my fork does not have the latest tags, so I get the wrong result.
Perhaps calc_release_version.py should inspect the remotes and match on whichever refers to mongodb/mongo-c-driver.