Skip to content
37 changes: 37 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Upload Python Package

on:
release:
types: [published]

permissions:
contents: read

jobs:
release-build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.8"

- name: Install dependencies
run: |
pip3 install -r requirements.txt
pip3 install pytest
pip3 install twine

- name: Build and Test
run: |
python3 setup.py build
pytest

- name: Publish to PyPI
run: |
python3 setup.py sdist bdist_wheel &> package_setup.log
curl --connect-timeout 10 -kI https://test.pypi.org
twine upload -u ${{ secrets.USER }} -p ${{ secrets.PASS }} 'dist/*'

2 changes: 1 addition & 1 deletion client_encryption/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__version__ = "1.23.2"
__version__ = "1.23.3"