diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c8f8290..3e0f676 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,7 +30,8 @@ jobs: - name: Fetch all tags to determine version run: | git fetch origin +refs/tags/*:refs/tags/* - echo "VERSION=$(git describe --match "v[0-9]*" --tags HEAD --always)" >> $GITHUB_ENV + echo VERSION="v$(jq .version -r driver.json)" >> $GITHUB_ENV + # echo "VERSION=$(git describe --match "v[0-9]*" --tags HEAD --always)" >> $GITHUB_ENV - name: Verify driver.json version for release build if: contains(github.ref, 'tags/v') diff --git a/driver.json b/driver.json index 3bb0a68..3c9c0ee 100644 --- a/driver.json +++ b/driver.json @@ -1,6 +1,6 @@ { "driver_id": "zidootv_driver", - "version": "1.0.1", + "version": "1.0.2", "min_core_api": "0.20.0", "name": { "en": "Zidoo TV" diff --git a/intg-zidoo/setup_flow.py b/intg-zidoo/setup_flow.py index ca11f7b..af0c41f 100644 --- a/intg-zidoo/setup_flow.py +++ b/intg-zidoo/setup_flow.py @@ -262,8 +262,6 @@ async def _handle_discovery(msg: UserDataResponse) -> RequestUserInput | SetupEr """ global _setup_step - config.devices.clear() # triggers device instance removal - dropdown_items = [] address = msg.input_values["address"]