Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pylover committed Jun 28, 2021
1 parent 022b303 commit faaeb5a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: PyPI

on:
release:
types: [created]

jobs:
pypi:
name: PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements-ci.txt
python -m pip install -e .
- name: Create distributions
run: make dist
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@ lint:
env:
$(PIP) install -r requirements-dev.txt
$(PIP) install -e .

.PHONY: dist
dist:
python setup.py sdist

2 changes: 1 addition & 1 deletion brythoncli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
from .commands import Brython


__version__ = '0.1.0'
__version__ = '0.1.1'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
]
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
Expand Down

0 comments on commit faaeb5a

Please sign in to comment.