Skip to content

Commit 52b9892

Browse files
authored
Move to Version 20.1.0 + add Upload GitHub Action (#103)
- Update changelog - Add action to upload to PyPI on release creation
1 parent aef4e17 commit 52b9892

File tree

4 files changed

+41
-2
lines changed

4 files changed

+41
-2
lines changed

.github/workflows/pypi_upload.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: pypi_upload
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
upload:
9+
name: PyPI Upload
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v1
14+
15+
- name: Set up Python 3.7
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: 3.7
19+
20+
- name: Install latest pip, setuptools, twine + wheel
21+
run: |
22+
python -m pip install --upgrade pip setuptools twine wheel
23+
24+
- name: Build sdist + wheel
25+
run: |
26+
python setup.py bdist_wheel
27+
python setup.py sdist
28+
29+
- name: Upload to PyPI via Twine
30+
env:
31+
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
32+
run: |
33+
twine upload --verbose -u '__token__' dist/*

README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,12 @@ MIT
228228
Change Log
229229
----------
230230

231+
20.1.0
232+
~~~~~~
233+
234+
* Warn about continue/return/break in finally block (#100)
235+
* Removed a colon from the descriptive message in B008. (#96)
236+
231237
19.8.0
232238
~~~~~~
233239

bugbear.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pycodestyle
1010

1111

12-
__version__ = "19.8.0"
12+
__version__ = "20.1.0"
1313

1414
LOG = logging.getLogger("flake8.bugbear")
1515

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bdist_wheel]
2-
python-tag = py35.py36.py37
2+
python-tag = py36.py37.py38
33

44
[flake8]
55
# Keep in sync with .flake8. This copy here is needed for source packages

0 commit comments

Comments
 (0)