Fix HACS release zip layout

This commit is contained in:
2026-04-22 20:51:40 -05:00
parent 32c4dcb712
commit 4faa1a1f34
3 changed files with 23 additions and 7 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ jobs:
- name: Create relaytv.zip for HACS
run: |
cd custom_components
zip -r ../relaytv.zip relaytv
cd custom_components/relaytv
zip -r ../../relaytv.zip . -x "__pycache__/*" "*/__pycache__/*" "*.pyc"
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
+20 -4
View File
@@ -1,8 +1,24 @@
# RelayTV HA 0.3.11
# RelayTV HA 0.3.12
## HACS Install Layout Fix
This release fixes the HACS `relaytv.zip` package layout. Version `0.3.11` packaged the integration inside an extra top-level `relaytv/` directory, which could install as:
```text
/config/custom_components/relaytv/relaytv/manifest.json
```
Home Assistant expects:
```text
/config/custom_components/relaytv/manifest.json
```
Updating to `0.3.12` restores the correct flat zip layout for HACS installs and updates. Restart Home Assistant after updating.
## Companion App Share Automation
This release highlights the Home Assistant Companion App share automation flow. You can share URLs or text from the Home Assistant mobile app and send them directly to RelayTV with `relaytv.smart_url`.
This release continues to highlight the Home Assistant Companion App share automation flow. You can share URLs or text from the Home Assistant mobile app and send them directly to RelayTV with `relaytv.smart_url`.
```yaml
alias: RelayTV - Smart play from share
@@ -28,7 +44,7 @@ variables:
## HACS Display Assets
- Keeps integration brand assets under `custom_components/relaytv/brand/`.
- Adds root-level `icon.png` and `logo.png` fallbacks for repository/HACS renderers that look at the repository root.
- Keeps root-level `icon.png` and `logo.png` fallbacks for repository/HACS renderers that look at the repository root.
- Uses the README screenshot hosted from GitHub raw content for reliable rendering in HACS.
Note: HACS' integration list icon is ultimately loaded from `brands.home-assistant.io` for integration domains. If the RelayTV icon still appears generic in the list, the remaining step is submitting `relaytv` to the Home Assistant Brands repository.
Note: HACS' integration list icon is ultimately loaded from `brands.home-assistant.io` for integration domains. If the RelayTV icon still appears generic in the list, the remaining durable step is submitting `relaytv` to the Home Assistant Brands repository.
+1 -1
View File
@@ -12,5 +12,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/mcgeezy/relaytv-ha/issues",
"requirements": [],
"version": "0.3.11"
"version": "0.3.12"
}