ESMValGroup / ESMValTool

ESMValTool: A community diagnostic and performance metrics tool for routine evaluation of Earth system models in CMIP
https://www.esmvaltool.org
Apache License 2.0
227 stars 128 forks source link

Version number in documentation title on readthedocs is wrong #3814

Closed bouweandela closed 3 days ago

bouweandela commented 6 days ago

For example, the latest documentation has title: Welcome to ESMValTool’s documentation! — ESMValTool 0.1.0.dev50+gde43833.d20241114 documentation.

For v2.11.0 the title is: Welcome to ESMValTool’s documentation! — ESMValTool 2.12.0.dev0+g93d6ff8.d20240704 documentation

valeriupredoi commented 6 days ago

I've seen that (the 0.1.0 bit) when the Bot is installing the Tool - it's gotta be something inside our version controller, will have a look; the 2.12.0dev++ is our actual version

bouweandela commented 6 days ago

I think we may need to do something along these lines: https://github.com/SciTools/iris/blob/2600fb9bd9a1309fa6e989c1728589aa8140fb94/.readthedocs.yml#L8-L19

valeriupredoi commented 6 days ago

let's work on https://github.com/ESMValGroup/ESMValTool/pull/3815 - am dubious about "shallow" - we don't have a .git/shallow though

bouweandela commented 6 days ago

we don't have a .git/shallow though

I suspect that is caused by the way readthedocs clones the repository.

valeriupredoi commented 6 days ago

ah, that makes sense! we built it here with the new git options, but beats me if I can see any version now :laughing: https://readthedocs.org/projects/esmvaltool/builds/26330015/