Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasMoutawwakil committed Feb 16, 2024
1 parent 4e508ee commit 300affe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/publish_to_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ jobs:
pip install --upgrade pip
pip install wheel
- name: Extract tag name
id: tag
run: |
echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Update version in setup.py
run: |
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" setup.py
- name: Build a binary wheel
run: |
python setup.py sdist bdist_wheel
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

setup(
name="py-tgi",
version=PY_TGI_VERSION,
packages=find_packages(),
version="{{VERSION_PLACEHOLDER}}",
install_requires=["docker", "huggingface-hub"],
)

0 comments on commit 300affe

Please sign in to comment.