Skip to content

Commit 36a3b7c

Browse files
committed
chore: prepare for 0.4.0 release
1 parent b8359fc commit 36a3b7c

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

.github/workflows/publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish package
2+
on:
3+
release:
4+
types: [created]
5+
6+
jobs:
7+
build-n-publish:
8+
name: Build and publish
9+
runs-on: ubuntu-18.04
10+
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: Set up Python 3.9
14+
uses: actions/setup-python@v1
15+
with:
16+
python-version: 3.9
17+
- name: Install pypa/build
18+
run: >-
19+
python -m
20+
pip install
21+
build
22+
--user
23+
- name: Build a binary wheel and a source tarball
24+
run: >-
25+
python -m
26+
build
27+
--sdist
28+
--wheel
29+
--outdir dist/
30+
.
31+
- name: Publish distribution 📦 to PyPI
32+
uses: pypa/gh-action-pypi-publish@master
33+
with:
34+
password: ${{ secrets.PYPI_API_TOKEN }}

knockapi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import requests
22

3-
__version__ = '0.3.0'
3+
__version__ = '0.4.0'
44

55

66
class Connection(object):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
from setuptools.command.install import install
66

7-
version = '0.3.0'
7+
version = '0.4.0'
88

99
with open("README.md", "r") as f:
1010
long_description = f.read()

0 commit comments

Comments
 (0)