Skip to content

Add tag_prefix = v in versioneer configuration of setup.cfg #61

Add tag_prefix = v in versioneer configuration of setup.cfg

Add tag_prefix = v in versioneer configuration of setup.cfg #61

Workflow file for this run

name: Upload Python Package
on:
push:
tags:
- v*
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: Install dependencies
uses: BSFishy/pip-action@v1
with:
packages: |
setuptools
wheel
twine
cython
packaging
numpy
pkgconfig
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist
twine upload dist/*