Skip to content

Update README.md

Update README.md #47

Workflow file for this run

name: Publish Python distributions to PyPI
on: push
jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install pypa/build
run: >-
python -m
pip install
wheel bump2version
--user
- name: Bump Patch Version
env:
COMMIT_MSG: ${{ github.event.head_commit.message }}
run: >-
bump2version --current-version $(python setup.py --version ) patch setup.py
- name: Build a binary wheel and a source tarball
run: >-
python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}