fix: small fixes (version/codeowner/relase.yaml)
Signed-off-by: Rafal Zielinski <sq4ind@gmail.com>
This commit is contained in:
@@ -39,13 +39,13 @@ jobs:
|
|||||||
- name: Update version in manifest
|
- name: Update version in manifest
|
||||||
run: |
|
run: |
|
||||||
python -c "
|
python -c "
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
with open('custom_components/adguard_control_hub/manifest.json', 'r') as f:
|
with open('custom_components/adguard_control_hub/manifest.json', 'r') as f:
|
||||||
manifest = json.load(f)
|
manifest = json.load(f)
|
||||||
manifest['version'] = os.environ['GITHUB_REF_NAME'].lstrip('v')
|
manifest['version'] = os.environ['GITHUB_REF_NAME'].lstrip('v')
|
||||||
with open('custom_components/adguard_control_hub/manifest.json', 'w') as f:
|
with open('custom_components/adguard_control_hub/manifest.json', 'w') as f:
|
||||||
json.dump(manifest, f, indent=2)
|
json.dump(manifest, f, indent=2)
|
||||||
"
|
"
|
||||||
|
|
||||||
- name: Create ZIP archive
|
- name: Create ZIP archive
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
"issue_tracker": "https://github.com/your-username/adguard-control-hub/issues",
|
"issue_tracker": "https://github.com/your-username/adguard-control-hub/issues",
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": [
|
"codeowners": [
|
||||||
"@your-username"
|
"@sq4ind"
|
||||||
],
|
],
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"aiohttp>=3.8.0"
|
"aiohttp>=3.8.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user