readthedocs.org
readthedocs.org copied to clipboard
Version in ReadTheDocs retains the tags commit ID preventing a rebuild based on the updated commit for the TAG
Details
- Read the Docs project URL: [https://readthedocs.org/projects/{your_project_slug}/](https://readthedocs.org/projects/django-helpdesk/
- Build URL (if applicable): https://readthedocs.org/projects/{your_project_slug}/builds/{build_id}/
Expected Result
*When the tag associate with a version in ReadTheDocs is updated to a new commit and I go to ReadThgeDocs UI and force a rerun iof the failed build, it should fetch the latest code from the git repository using the tag rather than the commit number it retrieved first time round.
Actual Result
The build simply uses the same commit so there is no change to the outcome of the build.
Suggested feature or behaviour
Either fetch the code based on the tag or provide a way to delete the version in ReadTheDocs so that it can be properly rebuilt using the updarted commit.
Hi, this is a known problem, currently you'll need to trigger two builds, the first build will update the commit tag, and the second build will actually build the tag with the new commit. I agree that we should just use the tag instead of the commit here.
We had to revert the PR https://github.com/readthedocs/readthedocs.org/pull/10887.
Hi guys, Just wanted to check if there is any progress on this issue.
I updated the commit for this version 3.2.0-rc11
.
Maybe I got it wrong, I tried to trigger this build twice for this version- 3.2.0-rc11
on RTD. The commit is still - b3cefebd
which does not seem to update.
@sachin-suresh-rapyuta you can try triggering a build on a different version for it to update the other versions.