From: Jérôme Benoit Date: Thu, 4 Jul 2024 12:32:02 +0000 (+0200) Subject: ci: refine release-please configuration for monorepo X-Git-Tag: ocpp-server@v1.4.0~18 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=8406a86f0fa51da196783004a3e00d7747c8ab92;p=e-mobility-charging-stations-simulator.git ci: refine release-please configuration for monorepo Signed-off-by: Jérôme Benoit --- diff --git a/.github/release-please/config.json b/.github/release-please/config.json index 475a156e..3fcd0d79 100644 --- a/.github/release-please/config.json +++ b/.github/release-please/config.json @@ -1,9 +1,24 @@ { "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", - "release-type": "node", + "plugins": ["node-workspace"], + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, "include-component-in-tag": false, "packages": { - ".": {} + ".": { + "release-type": "node", + "component": "simulator", + "extra-files": ["sonar-project.properties"] + }, + "ui/web": { + "release-type": "node", + "component": "ui", + "extra-files": ["sonar-project.properties"] + }, + "tests/ocpp-server": { + "release-type": "python", + "component": "ocpp-server" + } }, "changelog-sections": [ { "type": "feat", "section": "🚀 Features", "hidden": false }, diff --git a/.github/release-please/manifest.json b/.github/release-please/manifest.json index 631da1f3..e81ff91c 100644 --- a/.github/release-please/manifest.json +++ b/.github/release-please/manifest.json @@ -1,3 +1,5 @@ { - ".": "1.3.7" + ".": "1.3.7", + "ui/web": "0.3.0", + "tests/ocpp-server": "0.1.0" }