Closed tjlaboss closed 2 months ago
You need to make sure that setuptools_scm
gets properly triggered before building which I think is already done in the build process.
setuptools_scm gets the maj.min.patch.dev+commit number
. Right now, it's 0.4.1.dev119+g494ef24f
.
So basically I'm wondering:
develop
. '.'.join('0.4.1.dev117+g8329afe6'.split('.')[:3])
?python -m setuptools_scm --strip-dev
?Versioning is based on tags. Try locally doing something like git tag v0.4.2
delete any local montepy/_version.py
and rebuild. It should look good at that point I think.
Also as part of the release process there's a check for a full release version. a .dev
version will cause pipeline failure, and so the website should never deploy with a dev
version.
I see: the website shall only deploy at release time.
I see what release
is doing: https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-release
Description
Fixes #544
Checklist
Discussion
As of 08ded2fcf4ec77bcb3c3d06bea7c40e1596b0995, this displays the latest build. Is that better / more correct?
If not: how should we make it display the most recent release?