Skip to content

Commit

Permalink
Version 1.1.1 and PyPI action
Browse files Browse the repository at this point in the history
  • Loading branch information
ndem0 committed Dec 15, 2020
1 parent c055a41 commit 15f5b5b
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "PYPI Publish"

on:
push:
tags:
- "*"

jobs:
docs:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2

- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7

- name: Install build
run: >-
python -m pip install build --user
- name: Build a binary wheel and a source tarball
run: >-
python -m build --sdist --wheel --outdir dist/ .
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion ezyrb/meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__author__ = "Nicola Demo, Marco Tezzele"
__copyright__ = "Copyright 2016-2019, EZyRB contributors"
__license__ = "MIT"
__version__ = "1.0"
__version__ = "1.1"
__mail__ = '[email protected], [email protected]'
__maintainer__ = __author__
__status__ = "Stable"

0 comments on commit 15f5b5b

Please sign in to comment.