Skip to content

Commit

Permalink
Manual publish until we can solve autoincrement
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Jul 18, 2023
1 parent 0b38c43 commit 09f9b38
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
33 changes: 19 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,24 @@ permissions:
contents: read

jobs:
pypi-publish:
name: Upload release to PyPI
deploy:

runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/agentmemory
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing

steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.x"
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: ${{ secrets.pypi_username }}
password: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='agentmemory',
version='0.2.7',
version='0.2.10',
description='Easy-to-use agent memory, powered by chromadb',
long_description=long_description, # added this line
long_description_content_type="text/markdown", # and this line
Expand Down

0 comments on commit 09f9b38

Please sign in to comment.