Skip to content

Commit

Permalink
setup revise for public
Browse files Browse the repository at this point in the history
  • Loading branch information
Theohhhu committed Mar 21, 2023
1 parent 5a40cd9 commit 5c523f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ jobs:
- 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: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name="marllib",
version="1.0.1",
version="1.0.0",
long_description=README,
long_description_content_type="text/markdown",
packages=find_packages(exclude=["examples", "docs", "tests"]),
Expand Down

0 comments on commit 5c523f4

Please sign in to comment.