‘stable’ is built from branch instead of tag
See original GitHub issueDetails
- Project URL: https://readthedocs.org/projects/httpolice/
- Build URL (if applicable): https://readthedocs.org/projects/httpolice/builds/6974496/
- Read the Docs username (if applicable): vfaronov
Expected Result
The ‘stable’ version on Read the Docs should be built from the latest version tag that is not pre-release. Currently, this is 0.7.0 (commit 0993a4f).
Actual Result
Instead, Read the Docs attempts to check out a branch named stable
in the Git repo, which doesn’t exist and never did.
If I do push a stable
branch to the repo, it is picked up, built and published correctly as the ‘stable’ version.
I used to have a problem which might be related: #2744 ‘stable’ was built from master instead of tag.
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (18 by maintainers)
Top Results From Across the Web
How is a tag different from a branch in Git? Which should I use ...
tags are symbolic names for a given revision. They always point to the same object (usually: to the same revision); they do not...
Read more >Will using a git tag instead of a branch update when tag moves?
Basically, yes. Note that it sets the stable branch at <URL> based on what the local master branch is.
Read more >Using tags instead of different branches
Merge feature branches into the default branch in Git. When your team identifies a stable commit to represent a release, tag that commit....
Read more >git tags as branches - changes incorrectly calculated?
I tried using "teamcity.internal.vcsTrigger.runBuildOnSameRevisionInEveryBranch=false" in the "<Root project>", the actual Project, the Build ...
Read more >Tagging the latest 'stable' version in git - CERN Indico
I propose: to keep track of the stable version as a direct ref (not via a tag object) on the '/refs/tags/' namespace. When/what...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@stsewd Thank you! It seems to work after the additional steps you mentioned.
On the other hand, it seems there is an endpoint to delete non-existent versions in the repo: https://github.com/rtfd/readthedocs.org/blob/393e31ad3a9aafee297df64f1a654ffcda7ef04a/readthedocs/restapi/utils.py#L64-L85