Skip to content

Commit

Permalink
Bump up python package version.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaoyijia committed Aug 23, 2024
1 parent 4076b0e commit b07ce84
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and upload Python package

on:
workflow_dispatch: # Allows manual triggering of the workflow

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies
run: python3 -m pip install setuptools wheel twine
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build a binary wheel
run: python3 setup.py sdist bdist_wheel
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 2 additions & 0 deletions knowledge_storm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
STORMWikiRunnerArguments,
STORMWikiRunner
)

__version__ = "0.2.5"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

setup(
name="knowledge-storm",
version="0.2.4",
version="0.2.5",
author="Yijia Shao, Yucheng Jiang",
author_email="[email protected], [email protected]",
description="STORM: A language model-powered knowledge curation engine.",
Expand Down

0 comments on commit b07ce84

Please sign in to comment.