diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml new file mode 100644 index 0000000..f0b421a --- /dev/null +++ b/.github/workflows/publish-to-test-pypi.yml @@ -0,0 +1,28 @@ +name: Publish 🐍 📦 to PyPI and TestPyPI + +on: + push: + # Sequence of patterns matched against refs/tags + tags: + - 'v*' + +jobs: + build-n-publish: + name: Build and publish 🐍 📦 to PyPI and TestPyPI + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@master + - name: Set up Python 3.7 + uses: actions/setup-python@v1 + with: + python-version: 3.7 + - name: Build a binary wheel and a source tarball + run: | + pip install wheel + python setup.py bdist_wheel + python setup.py sdist --formats=gztar + - name: Publish 📦 to Test PyPI + uses: pypa/gh-action-pypi-publish@master + with: + password: ${{ secrets.test_pypi_password }} + repository_url: https://test.pypi.org/legacy/ diff --git a/VERSION b/VERSION index 872765e..9ab8337 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.9 \ No newline at end of file +1.9.1