From 1688857ee02d93bca2fd48d71b52f08199fff009 Mon Sep 17 00:00:00 2001 From: Mips2648 Date: Sun, 12 May 2024 22:36:42 +0200 Subject: [PATCH] fix: version number --- .github/workflows/create-release.yml | 34 ++++++++++++++++++++++++++++ setup.py | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/create-release.yml 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)