From 97fa9a7e5048f5f74f5089fc5e5306e051ffbd62 Mon Sep 17 00:00:00 2001 From: Rafal Zielinski Date: Thu, 2 Oct 2025 16:21:27 +0100 Subject: [PATCH] fix: small fixes (version/codeowner/relase.yaml) Signed-off-by: Rafal Zielinski --- .gitea/workflows/release.yml | 14 +++++++------- .../adguard_control_hub/manifest.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1e5fcaa..ba62478 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -39,13 +39,13 @@ jobs: - name: Update version in manifest run: | python -c " -import json -import os -with open('custom_components/adguard_control_hub/manifest.json', 'r') as f: - manifest = json.load(f) -manifest['version'] = os.environ['GITHUB_REF_NAME'].lstrip('v') -with open('custom_components/adguard_control_hub/manifest.json', 'w') as f: - json.dump(manifest, f, indent=2) + import json + import os + with open('custom_components/adguard_control_hub/manifest.json', 'r') as f: + manifest = json.load(f) + manifest['version'] = os.environ['GITHUB_REF_NAME'].lstrip('v') + with open('custom_components/adguard_control_hub/manifest.json', 'w') as f: + json.dump(manifest, f, indent=2) " - name: Create ZIP archive diff --git a/custom_components/adguard_control_hub/manifest.json b/custom_components/adguard_control_hub/manifest.json index b7f831c..4f5b06b 100644 --- a/custom_components/adguard_control_hub/manifest.json +++ b/custom_components/adguard_control_hub/manifest.json @@ -6,7 +6,7 @@ "issue_tracker": "https://github.com/your-username/adguard-control-hub/issues", "dependencies": [], "codeowners": [ - "@your-username" + "@sq4ind" ], "requirements": [ "aiohttp>=3.8.0"