diff --git a/.github/workflows/pypi_release.yml b/.github/workflows/pypi_release.yml new file mode 100644 index 000000000..2594c12fb --- /dev/null +++ b/.github/workflows/pypi_release.yml @@ -0,0 +1,25 @@ +name: PyPI release + +on: workflow_dispatch + +permissions: + contents: read + +jobs: + release: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + check-latest: true + - name: Install dependencies + run: | + python -m pip install --upgrade pip setuptools wheel + python -m pip install --upgrade build twine + - name: Build package + run: python -m build + - name: Publish package + run: twine upload -r testpypi -u '__token__' -p '${{ secrets.TEST_PYPI_API_TOKEN }}' dist/* + #run: twine upload -r pypi -u '__token__' -p '${{ secrets.PYPI_TOKEN }}' dist/* diff --git a/motioneye/__init__.py b/motioneye/__init__.py index 281f16d33..570361c6c 100644 --- a/motioneye/__init__.py +++ b/motioneye/__init__.py @@ -1 +1 @@ -VERSION = "0.43.0" +VERSION = "0.43.1a1"