Skip to content

Commit

Permalink
update version to 0.16.15 and add pypi workflow trigger when release
Browse files Browse the repository at this point in the history
  • Loading branch information
long2ice committed Sep 16, 2020
1 parent bb8c257 commit ddabc4e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: pypi
on:
release:
types:
- created
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: '3.x'
- uses: dschep/install-poetry-action@v1.3
- name: Install requirements
run: make deps
- name: Build dists
run: python setup.py sdist
- name: Pypi Publish
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion tortoise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,4 +638,4 @@ async def do_stuff():
loop.run_until_complete(Tortoise.close_connections())


__version__ = "0.16.14"
__version__ = "0.16.15"

0 comments on commit ddabc4e

Please sign in to comment.