diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5574eea2df..4a3518dfe1 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -48,6 +48,12 @@ jobs: run: | pip install twine python setup_autogen.py sdist bdist_wheel + - name: Publish pyautogen to PyPI + env: + TWINE_USERNAME: ${{ secrets.PYAUTOGEN_PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.PYAUTOGEN_PYPI_PASSWORD }} + shell: pwsh + run: twine upload dist/*pyautogen* - name: Publish autogen to PyPI env: TWINE_USERNAME: ${{ secrets.AUTOGEN_PYPI_USERNAME }} @@ -69,9 +75,3 @@ jobs: shell: pwsh run: | python setup.py sdist bdist_wheel - - name: Publish pyautogen to PyPI - env: - TWINE_USERNAME: ${{ secrets.PYAUTOGEN_PYPI_USERNAME }} - TWINE_PASSWORD: ${{ secrets.PYAUTOGEN_PYPI_PASSWORD }} - shell: pwsh - run: twine upload dist/*pyautogen* diff --git a/autogen/version.py b/autogen/version.py index d41277c7c4..cf965dda73 100644 --- a/autogen/version.py +++ b/autogen/version.py @@ -4,4 +4,4 @@ # # Portions derived from https://github.com/microsoft/autogen are under the MIT License. # SPDX-License-Identifier: MIT -__version__ = "0.4.2b1" +__version__ = "0.4.2b2" diff --git a/setup_ag2.py b/setup_ag2.py index 209ec33488..5427a26463 100644 --- a/setup_ag2.py +++ b/setup_ag2.py @@ -21,6 +21,8 @@ name="ag2", version=__version__, description="Alias package for pyautogen", + long_description=long_description, + long_description_content_type="text/markdown", install_requires=["pyautogen==" + __version__], url="https://github.com/ag2ai/ag2", author="Chi Wang & Qingyun Wu", diff --git a/setup_autogen.py b/setup_autogen.py index 67925bf5ca..0b80410def 100644 --- a/setup_autogen.py +++ b/setup_autogen.py @@ -21,6 +21,8 @@ name="autogen", version=__version__, description="Alias package for pyautogen", + long_description=long_description, + long_description_content_type="text/markdown", install_requires=["pyautogen==" + __version__], url="https://github.com/ag2ai/ag2", author="Chi Wang & Qingyun Wu",