Skip to content

Commit

Permalink
Merge pull request #34 from matsui528/v0.2.1
Browse files Browse the repository at this point in the history
Updated to v0.2.1
  • Loading branch information
matsui528 committed Oct 26, 2023
2 parents 03c1aa4 + 0318cd7 commit c572124
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publishing

on: [push]

jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
steps:
# retrieve your distributions here

- name: Checkout
uses: actions/checkout@v4

- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion nanopq/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__all__ = ["PQ", "OPQ", "DistanceTable", "nanopq_to_faiss", "faiss_to_nanopq"]
__version__ = "0.2.0"
__version__ = "0.2.1"

from .convert_faiss import faiss_to_nanopq, nanopq_to_faiss
from .opq import OPQ
Expand Down

0 comments on commit c572124

Please sign in to comment.