When making a new release in GitHub, the CI pipeline that publishes the documentation does not correctly pass the version number of the package being built into the mike action.
This leads to the new documentation version being labeled as latest, instead of the true version (with latest being an alias).
Note that the version is missing in the CI action output, meaning it is not being passed correctly:
Describe the bug
When making a new release in GitHub, the CI pipeline that publishes the documentation does not correctly pass the version number of the package being built into the
mike
action.This leads to the new documentation version being labeled as
latest
, instead of the true version (withlatest
being an alias).Note that the version is missing in the CI action output, meaning it is not being passed correctly:![image](https://github.com/aai-institute/lakefs-spec/assets/322624/b5ff62c0-08dc-42e8-97cf-9f9bb84cf0da)
Steps to reproduce
Make a new GitHub release, let the action run, check out the published docs version (https://lakefs-spec.org/versions.json)
Expected behaviour
The docs should have a new version that matches the published Python package, and the alias
latest
pointing to that release.Logs, screens, other evidence of a bug
Here's the current
versions.json
(note that I manually retitled the latest release already until we have a fix):Your operating system
GitHub Actions
Python version
n/a
lakeFS-spec version
n/a
lakeFS server version
n/a
lakeFS SDK version
n/a
How is lakeFS deployed?
No response
Additional context
No response
Related GitHub issue(s)
Potentially https://github.com/actions/runner/issues/2788