Skip to content

Commit

Permalink
Release of version 2.2.0 (#83)
Browse files Browse the repository at this point in the history
* migration to pyproject.toml

* fixing workflow

* adding optional dependencies for tests

* added python parametrization for CI pytest

* new release
  • Loading branch information
twalen authored Nov 25, 2024
1 parent 63af9b1 commit 543c5fb
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: publish
run-name: Publish to PyPi
on:
release:
types: [published]

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

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install build
run: |
python3 -m pip install build
python3 -m pip install setuptools --upgrade
- name: Build
run: |
python3 -m build --sdist --wheel --outdir dist/ .
- name: Publish
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies = [
"requests",
"six",
]
version = "2.1.5"
version = "2.2.0"

[project.urls]
"homepage" = "https://github.com/sio2project/filetracker"
Expand Down

0 comments on commit 543c5fb

Please sign in to comment.