Skip to content

Commit 87680ac

Browse files
committed
feat: fixed version in setup.py
1 parent b97d70f commit 87680ac

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ on:
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/open-text-embeddings
15+
permissions:
16+
id-token: write
1217
steps:
1318
- name: Checkout code
1419
uses: actions/checkout@v4
@@ -29,5 +34,3 @@ jobs:
2934
3035
- name: Publish distribution to PyPI
3136
uses: pypa/gh-action-pypi-publish@release/v1
32-
with:
33-
password: ${{ secrets.PYPI_API_TOKEN }}

RELEASE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
1.0.2 released.
1+
1.0.1 released.
22

3-
Unable to publish using trust publisher approach, use api token.
3+
Fixed readme and package publishing workflow, no changes to code.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
description="Open Source Text Embedding Models with OpenAI API-Compatible Endpoint",
1212
long_description=long_description,
1313
long_description_content_type="text/markdown",
14-
version="1.0.0",
14+
version="1.0.1",
1515
author="Lim Chee Kin",
1616
author_email="[email protected]",
1717
license="MIT",

0 commit comments

Comments
 (0)