diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..c5fd92a --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,34 @@ +name: Pipeline + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + workflow_dispatch: + +jobs: + pytest_39: + uses: ./.github/workflows/pytest-3.9.yml + + pytest_311: + uses: ./.github/workflows/pytest-3.11.yml + + release-on-success: + needs: [pytest_39, pytest_311] + if: ${{ github.repository == 'Mips2648/jeedom-daemon-py'}} + runs-on: ubuntu-latest + concurrency: release + permissions: + # id-token: write + contents: write + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Python Semantic Release + uses: python-semantic-release/python-semantic-release@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/setup.py b/setup.py index 7c11d9d..baa0dc3 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages -__version__ = "0.8.7" +__version__ = "0.8.6" setup( # Needed to silence warnings (and to be a worthwhile package)