forked from tangger/lerobot
fix(ci): use base tag for testpy to mimic the pyproject.toml version (#1648)
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -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