-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Build fails to git checkout a specific hash/tag successfully #3837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Encountering the same issue. seems like the git checkout process for "stable" documentation releases tries to do something wrong to get the tag it needs to checkout. This used to work. Here is my problem: http://readthedocs.org/projects/pyro4/builds/6938148/ (Not sure if related: it seems that the "stable" build doesn't pick up a new release tag, it remains stuck at the previous release tag) |
It works now for me. Thanks. I will close this issue. |
@stsewd no luck, the stable build is still stuck at the previous version's commit in my project. I don't know what to do to solve this (apart from recreating my whole project, which is not something I'd like to do) Note that it builds fine, it's just stuck at an old release version |
@irmen please see #3887 (comment) for more information |
@stsewd thanks for the pointer. I will have a look. It is not a big issue though unless it is still stuck when I publish the next release. We will see. |
Details
Expected Result
Documentation would checkout and build for a tag. This works fine with master and other branches, but not with tags.
Actual Result
I am trying to build documentation for a specific tag in github. When I trigger that build, the checkout fails as follows
git clone --recursive https://github.com/cice-consortium/cice .
git show-ref remotes/origin/e03a341ba4d8fe569f581411a4b607e014fb8454
git checkout --force origin/e03a341ba4d8fe569f581411a4b607e014fb8454
error: pathspec 'origin/e03a341ba4d8fe569f581411a4b607e014fb8454' did not match any file(s) known to git.
I can duplicate this result on the command line.
The following does work for a specific tag/hash.
git checkout --force e03a341ba4d8fe569f581411a4b607e014fb8454
or
git checkout --force cice6.0.0.alpha
which is the actual tag associated with the hash.
git checkout --force origin/branch
works fine for branches but origin/tag does not work for specific tags or hashes.
The text was updated successfully, but these errors were encountered: