Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/libnvme-release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
id: version
run: |
TAG=$(git describe --tags --abbrev=0)
REV=$(git rev-list "$TAG"..HEAD --count)
REV=$(git rev-list HEAD --count)
BASE_VERSION="${TAG#v}"
VERSION="${BASE_VERSION}.dev${REV}"
echo "dev_version=$VERSION" >> $GITHUB_OUTPUT
Expand Down
10 changes: 10 additions & 0 deletions libnvme/libnvme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,13 @@ host = None
ctx = None
```

## Testing PyPI package

Use the following command to test installing the package from TestPyPI before publishing to the official PyPI registry.

```bash
pip install \
--index-url https://test.pypi.org/simple/ \
--extra-index-url https://pypi.org/simple/ \
libnvme==[libnvme-version]
```