From c5274f0efd8856c296c4c905047eb9fc5b081336 Mon Sep 17 00:00:00 2001 From: onikonychev Date: Wed, 13 Jul 2022 20:48:05 +0400 Subject: [PATCH] Github workflow: do release on master merge --- .github/workflows/release.yml | 11 ++++++----- setup.py | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dfa03d4e..f6c3e1cf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,8 +1,9 @@ name: Publish Python 🐍 distribution 📦 to PyPI on: - release: - types: [created] + push: + branches: + - master jobs: deploy: @@ -10,10 +11,10 @@ jobs: steps: - uses: actions/checkout@master - - name: Set up Python 3.7 + - name: Set up Python 3.9 uses: actions/setup-python@v2 with: - python-version: 3.7 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -24,4 +25,4 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | python setup.py sdist bdist_wheel - twine upload --skip-existing dist/* \ No newline at end of file + twine upload --skip-existing dist/* diff --git a/setup.py b/setup.py index 35451aaa..e4629827 100755 --- a/setup.py +++ b/setup.py @@ -17,7 +17,7 @@ EMAIL = "dev@nibiru.fi" AUTHOR = "Nibiru Chain" REQUIRES_PYTHON = ">=3.7.0" -VERSION = "0.0.2" +VERSION = "0.0.4" REQUIRED = [ "grpcio",