Open bobleesj opened 4 hours ago
Found the problem. When we checkout, we don't want to just checkout the main
branch but also grab the latest tags as well.
Change from
uses: actions/checkout@v4
to
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetches all history for all branches and tags
Before:
After:
Problem
The version displays 0.0.1 in https://www.diffpy.org/diffpy.fourigui/.
The version is dynamically retrieved from the latest tag. Here, when a single doc rendering workflow is used, it fails to grab the latest tag.
Proposed solution
Begin investigating.