question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

‘stable’ is built from branch instead of tag

See original GitHub issue

Details

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:closed
  • Created 5 years ago
  • Comments:22 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
vfaronovcommented, Jul 9, 2018

@stsewd Thank you! It seems to work after the additional steps you mentioned.

1reaction
humitoscommented, Apr 2, 2018

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found