From 129007087021e2ac962dc8f90e85bdce3b87d621 Mon Sep 17 00:00:00 2001 From: Keisuke OGAKI Date: Fri, 9 Apr 2021 21:23:48 +0900 Subject: [PATCH] v1.0.5 & publish with Github Actions (#41) * :star: publish with actions * :star: publish with actions * :star: publish with actions * :star: publish with actions * :art: only sdist * :star: 1.0.4.1dev * :star: continue on error * :star: 1.0.5 --- .github/workflows/publish.yml | 29 +++++++++++++++++++++++++++++ setup.py | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..5b239da --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,29 @@ +name: Publish + +on: + push: + branches: [ master ] + +jobs: + deploy: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies and build + run: | + python -m pip install --upgrade pip + pip install wheel + python setup.py sdist + - name: Publish distribution 📦 to PyPI + continue-on-error: true + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/setup.py b/setup.py index ba945e9..953ed25 100644 --- a/setup.py +++ b/setup.py @@ -75,7 +75,7 @@ def build_extension(self, ext): setup( name='pqkmeans', - version='1.0.4', + version='1.0.5', author='Keisuke Ogaki, Yusuke Matsui', author_email='keisuke_ogaki@dwango.co.jp, matsui528@gmail.com', license='MIT License',