Skip to content

Commit 11f6836

Browse files
committed
version bump to 0.0.7, added pypi publish
1 parent f1ba6da commit 11f6836

2 files changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/pypi_publish.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Publish to PyPI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build-and-publish:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: '3.10'
19+
20+
- name: Install build and upload tools
21+
run: |
22+
python -m pip install --upgrade pip
23+
python -m pip install --upgrade pkginfo
24+
python -m pip install --upgrade build
25+
python -m pip install --upgrade twine
26+
27+
- name: Build the package
28+
run: python -m build
29+
30+
- name: Publish to PyPI
31+
env:
32+
TWINE_USERNAME: __token__
33+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
34+
run: python -m twine upload dist/*

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "morphomapping"
7-
version = "0.0.6"
7+
version = "0.0.7"
88
authors = [
99
{ name="Amelie Bauerdick", email="Amelie.Bauerdick@stud.uni-heidelberg.de" },
1010
]

0 commit comments

Comments
 (0)