From 8c1443259076ff7fb06d2c86f48b9da9290c4b72 Mon Sep 17 00:00:00 2001 From: Hugo <42470993+hugobloem@users.noreply.github.com> Date: Sun, 3 Nov 2024 09:21:57 +0000 Subject: [PATCH] ci(release): fix jsonpath (#129) --- release-please-config.json | 151 ++++++++++++++++++++++++++++++------- 1 file changed, 124 insertions(+), 27 deletions(-) diff --git a/release-please-config.json b/release-please-config.json index 8c59a3d..d0ff27e 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -3,41 +3,138 @@ "release-type": "python", "extra-files": [ { - "type": "json", - "path": "custom_components/stateful_scenes/manifest.json", + "type": "json", + "path": "custom_components/stateful_scenes/manifest.json", + "jsonpath": "$.version" } ], "packages": { ".": { "release-type": "python", "changelog-sections": [ - {"section": "๐Ÿš€ Features", "type": "feat", "hidden": false}, - {"section": "๐Ÿ› Bugfixes", "type": "fix", "hidden": false}, - {"section": "๐Ÿ“ Documentation", "type": "docs", "hidden": false}, - {"section": "โฌ†๏ธ Dependency updates", "type": "deps", "hidden": false}, - {"section": "๐Ÿ”จ Code Refactoring", "type": "refactor", "hidden": false}, - {"section": "๐Ÿงช Tests", "type": "test", "hidden": false}, - {"section": "โช๏ธ Reverts", "type": "revert", "hidden": false}, - {"section": "โšก๏ธ Performance Improvements", "type": "perf", "hidden": false}, - {"section": "๐Ÿ—๏ธ Maintenance", "type": "build", "hidden": false}, - {"section": "๐ŸŽจ Styles", "type": "style", "hidden": false}, - {"section": "๐Ÿ”ง Miscellaneous Chores", "type": "chore", "hidden": false}, - {"section": "๐Ÿ‘ท Continuous Integration", "type": "ci", "hidden": false} + { + "section": "๐Ÿš€ Features", + "type": "feat", + "hidden": false + }, + { + "section": "๐Ÿ› Bugfixes", + "type": "fix", + "hidden": false + }, + { + "section": "๐Ÿ“ Documentation", + "type": "docs", + "hidden": false + }, + { + "section": "โฌ†๏ธ Dependency updates", + "type": "deps", + "hidden": false + }, + { + "section": "๐Ÿ”จ Code Refactoring", + "type": "refactor", + "hidden": false + }, + { + "section": "๐Ÿงช Tests", + "type": "test", + "hidden": false + }, + { + "section": "โช๏ธ Reverts", + "type": "revert", + "hidden": false + }, + { + "section": "โšก๏ธ Performance Improvements", + "type": "perf", + "hidden": false + }, + { + "section": "๐Ÿ—๏ธ Maintenance", + "type": "build", + "hidden": false + }, + { + "section": "๐ŸŽจ Styles", + "type": "style", + "hidden": false + }, + { + "section": "๐Ÿ”ง Miscellaneous Chores", + "type": "chore", + "hidden": false + }, + { + "section": "๐Ÿ‘ท Continuous Integration", + "type": "ci", + "hidden": false + } ] } }, "changelog-sections": [ - {"section": "๐Ÿš€ Features", "type": "feat", "hidden": false}, - {"section": "๐Ÿ› Bugfixes", "type": "fix", "hidden": false}, - {"section": "๐Ÿ“ Documentation", "type": "docs", "hidden": false}, - {"section": "โฌ†๏ธ Dependency updates", "type": "deps", "hidden": false}, - {"section": "๐Ÿ”จ Code Refactoring", "type": "refactor", "hidden": false}, - {"section": "๐Ÿงช Tests", "type": "test", "hidden": false}, - {"section": "โช๏ธ Reverts", "type": "revert", "hidden": false}, - {"section": "โšก๏ธ Performance Improvements", "type": "perf", "hidden": false}, - {"section": "๐Ÿ—๏ธ Maintenance", "type": "build", "hidden": false}, - {"section": "๐ŸŽจ Styles", "type": "style", "hidden": false}, - {"section": "๐Ÿ”ง Miscellaneous Chores", "type": "chore", "hidden": false}, - {"section": "๐Ÿ‘ท Continuous Integration", "type": "ci", "hidden": false} + { + "section": "๐Ÿš€ Features", + "type": "feat", + "hidden": false + }, + { + "section": "๐Ÿ› Bugfixes", + "type": "fix", + "hidden": false + }, + { + "section": "๐Ÿ“ Documentation", + "type": "docs", + "hidden": false + }, + { + "section": "โฌ†๏ธ Dependency updates", + "type": "deps", + "hidden": false + }, + { + "section": "๐Ÿ”จ Code Refactoring", + "type": "refactor", + "hidden": false + }, + { + "section": "๐Ÿงช Tests", + "type": "test", + "hidden": false + }, + { + "section": "โช๏ธ Reverts", + "type": "revert", + "hidden": false + }, + { + "section": "โšก๏ธ Performance Improvements", + "type": "perf", + "hidden": false + }, + { + "section": "๐Ÿ—๏ธ Maintenance", + "type": "build", + "hidden": false + }, + { + "section": "๐ŸŽจ Styles", + "type": "style", + "hidden": false + }, + { + "section": "๐Ÿ”ง Miscellaneous Chores", + "type": "chore", + "hidden": false + }, + { + "section": "๐Ÿ‘ท Continuous Integration", + "type": "ci", + "hidden": false + } ] -} +} \ No newline at end of file