mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-15 00:29:52 +00:00
fix(ci): use base tag for testpy to mimic the pyproject.toml version (#1648)
This commit is contained in:
@@ -146,11 +146,12 @@ jobs:
|
||||
run: |
|
||||
VERSION="${{ needs.build-and-publish.outputs.version }}"
|
||||
if [[ "$VERSION" == *-* ]]; then
|
||||
echo "Installing pre-release version $VERSION from TestPyPI..."
|
||||
BASE_VERSION="${VERSION%%-*}"
|
||||
echo "Installing pre-release version $BASE_VERSION from TestPyPI..."
|
||||
uv run pip install \
|
||||
--index-url https://test.pypi.org/simple/ \
|
||||
--extra-index-url https://pypi.org/simple \
|
||||
"lerobot[all]==$VERSION"
|
||||
"lerobot[all]==$BASE_VERSION"
|
||||
else
|
||||
echo "Installing release version $VERSION from PyPI..."
|
||||
uv run pip install "lerobot[all]==$VERSION"
|
||||
|
||||
Reference in New Issue
Block a user