From 8406a86f0fa51da196783004a3e00d7747c8ab92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 4 Jul 2024 14:32:02 +0200 Subject: [PATCH] ci: refine release-please configuration for monorepo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/release-please/config.json | 19 +++++++++++++++++-- .github/release-please/manifest.json | 4 +++- 2 files changed, 20 insertions(+), 3 deletions(-) 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" } -- 2.34.1