Skip to content

release 0.2.0, now depending on text-utils>=0.2.1 #10

release 0.2.0, now depending on text-utils>=0.2.1

release 0.2.0, now depending on text-utils>=0.2.1 #10

Workflow file for this run

name: Build, test, and release
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Build wheel and test import
run: |
pip wheel . -w wheels
pip install wheels/*.whl
python -c "import whitespace_correction"
- name: Publish release to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
pip install --upgrade twine
twine upload --skip-existing wheels/whitespace_correction*.whl