Skip to content

Commit

Permalink
version bump and automatic release on pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
adtzlr committed Feb 25, 2021
1 parent 1bb40a1 commit aec444a
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Python to PyPI

on: push

jobs:
build:
name: Build and publish Python to PyPI
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
architecture: x64
- name: install pypa/build
run: >-
python -m
pip install
build
--user
- name: build wheel
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
- name: publish to pypi
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion cubrium/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.1.0"
__version__ = "0.1.1"
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = cubrium
version = 0.1.0
version = 0.1.1
author = Andreas Dutzler
author_email = a.dutzler@gmail.com
description = Cube in Equilibrium
Expand Down

0 comments on commit aec444a

Please sign in to comment.