Skip to content

Commit

Permalink
version bump, enable pypi publish
Browse files Browse the repository at this point in the history
  • Loading branch information
corpulent committed Mar 26, 2024
1 parent 554d2d7 commit dd1e172
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,27 @@ jobs:
with:
repository-url: https://test.pypi.org/legacy/
password: ${{ secrets.TEST_PYPI_API_TOKEN }}

publish-to-pypi:
name: >-
Publish distribution
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
runs-on: ubuntu-latest
env:
name: publish-to-pypi
url: https://pypi.org/p/llmt
permissions:
id-token: write

steps:
- name: Download all the dists
uses: actions/download-artifact@v3
with:
name: python-package-distributions
path: dist/
- name: Publish distribution
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ACCOUNT=omhq
IMAGE=llmt-workspace
IMAGE_TAG=0.0.1
IMAGE_TAG=0.0.2

CURRENT_DIR=$(shell pwd)

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3"

services:
llmt-workspace:
image: omhq/llmt-workspace:0.0.1
image: omhq/llmt-workspace:0.0.2
working_dir: /workspace
volumes:
- ./chats:/workspace/chats
Expand Down
2 changes: 1 addition & 1 deletion llmt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .utils import load_config


__version__ = "0.0.1"
__version__ = "0.0.2"
__all__ = [
"LLMT",
"OpenAIAssistant",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "llmt"
version = "0.0.1"
version = "0.0.2"
authors = [
{ name="Artem Golub", email="artem @ outermeasure.com"}
]
Expand Down

0 comments on commit dd1e172

Please sign in to comment.