Skip to content

Commit 543c5fb

Browse files
authored
Release of version 2.2.0 (#83)
* migration to pyproject.toml * fixing workflow * adding optional dependencies for tests * added python parametrization for CI pytest * new release
1 parent 63af9b1 commit 543c5fb

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: publish
2+
run-name: Publish to PyPi
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
build-and-publish:
9+
name: Build and publish to PyPi
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: 3.8
19+
- name: Install build
20+
run: |
21+
python3 -m pip install build
22+
python3 -m pip install setuptools --upgrade
23+
- name: Build
24+
run: |
25+
python3 -m build --sdist --wheel --outdir dist/ .
26+
- name: Publish
27+
if: startsWith(github.ref, 'refs/tags')
28+
uses: pypa/gh-action-pypi-publish@release/v1
29+
with:
30+
password: ${{ secrets.PYPI_TOKEN }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"requests",
3030
"six",
3131
]
32-
version = "2.1.5"
32+
version = "2.2.0"
3333

3434
[project.urls]
3535
"homepage" = "https://github.com/sio2project/filetracker"

0 commit comments

Comments
 (0)