Skip to content

Bump version to v2.18.2 #48

Bump version to v2.18.2

Bump version to v2.18.2 #48

Workflow file for this run

---
name: Upload to PyPI
on:
push:
tags:
- v*
jobs:
tox:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
# GHA won't setup tox for us and we use tox-pip-extensions for venv-update
- run: pip install tox==3.2 tox-pip-extensions==1.3.0
- run: make test
pypi:
# lets run tests before we push anything to pypi, much like we do internally
needs: tox
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
# GHA won't setup tox for us and we use tox-pip-extensions for venv-update
# and we need wheel for actually building wheels :p
- run: pip install tox==3.2 tox-pip-extensions==1.3.0 wheel
# this will create an sdist and wheel under dist/
- run: python setup.py sdist bdist_wheel
# and then this uploads those artifacts to pypi
- uses: pypa/[email protected]
with:
password: ${{ secrets.pypi_password }}