Skip to content
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

build(docs): fix version in rtd builds #4864

Merged
merged 2 commits into from
Jun 19, 2024
Merged

build(docs): fix version in rtd builds #4864

merged 2 commits into from
Jun 19, 2024

Commits on Jun 19, 2024

  1. build(docs): fix version in rtd builds

    Readthedocs builds don't fetch tags when cloning the repo. This is a problem
    for us because Snapcraft's version comes from the git tag, so do a fetch of
    the tags as a post-checkout step.
    
    Additionally, explicitly install snapcraft itself (via "pip install .") so
    that the code that gets the version from git actually runs. Note that this
    already works on "latest" because that builds off of "main" where this fix
    has already been applied (when moving to canonical-sphinx).
    tigarmo committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    daf0715 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3792bb4 View commit details
    Browse the repository at this point in the history