Skip to content

Commit

Permalink
bump version and add action to publish releases
Browse files Browse the repository at this point in the history
  • Loading branch information
joezuntz committed Mar 2, 2022
1 parent 477469f commit 5abc243
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Upload to PyPI

on:
release:
types: [published]

jobs:
Upload:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup python
uses: actions/setup-python@v2

- name: Build wheel and source tarball
run: |
python setup.py sdist
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_COSMOSIS_UPLOAD }}
2 changes: 1 addition & 1 deletion cosmosis/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.5.12'
__version__ = '0.5.13'

0 comments on commit 5abc243

Please sign in to comment.