Skip to content

Commit 434a514

Browse files
committed
add pypi.yaml
1 parent ea3e445 commit 434a514

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

.github/workflows/pypi.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: pypi
2+
on:
3+
release:
4+
types:
5+
- created
6+
jobs:
7+
publish:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-python@v1
12+
with:
13+
python-version: '3.x'
14+
- name: Install and configure Poetry
15+
run: |
16+
pip install -U pip poetry
17+
poetry config virtualenvs.create false
18+
- name: Build dists
19+
run: make build
20+
- name: Pypi Publish
21+
uses: pypa/gh-action-pypi-publish@master
22+
with:
23+
user: __token__
24+
password: ${{ secrets.pypi_password }}

asyncodbc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from .connection import Connection, connect
66
from .pool import Pool, create_pool
77

8-
__version__ = "0.1.0"
8+
__version__ = "0.1.1"
99
__all__ = ["connect", "Connection", "create_pool", "Pool", "data_sources"]
1010

1111

0 commit comments

Comments
 (0)