Skip to content

Commit

Permalink
add pypi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
long2ice committed May 20, 2022
1 parent ea3e445 commit 434a514
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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'
- name: Install and configure Poetry
run: |
pip install -U pip poetry
poetry config virtualenvs.create false
- name: Build dists
run: make build
- name: Pypi Publish
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
2 changes: 1 addition & 1 deletion asyncodbc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from .connection import Connection, connect
from .pool import Pool, create_pool

__version__ = "0.1.0"
__version__ = "0.1.1"
__all__ = ["connect", "Connection", "create_pool", "Pool", "data_sources"]


Expand Down

0 comments on commit 434a514

Please sign in to comment.