ci: refine release-please configuration
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 4 Jul 2024 13:25:04 +0000 (15:25 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 4 Jul 2024 13:25:04 +0000 (15:25 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/release-please/config.json

index 800e4ea8562d0347814a9d8802d0f78afcb8c809..9f428dd406ad49b8498d32e73ead298c1f3af8de 100644 (file)
@@ -1,16 +1,5 @@
 {
   "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
-  "plugins": [
-    {
-      "type": "node-workspace",
-      "merge": false
-    },
-    {
-      "type": "linked-versions",
-      "groupName": "simulator-ui-ocpp-server",
-      "components": ["simulator", "ui", "ocpp-server"]
-    }
-  ],
   "bump-minor-pre-major": true,
   "bump-patch-for-minor-pre-major": true,
   "include-component-in-tag": false,
     ".": {
       "release-type": "node",
       "exclude-paths": ["ui/web", "tests/ocpp-server"],
+      "package-name": "simulator",
       "component": "simulator",
       "extra-files": ["sonar-project.properties"]
     },
     "ui/web": {
       "release-type": "node",
+      "package-name": "ui",
       "component": "ui",
       "extra-files": ["sonar-project.properties"]
     },
     "tests/ocpp-server": {
       "release-type": "python",
+      "package-name": "ocpp-server",
       "component": "ocpp-server"
     }
   },
+  "plugins": [
+    {
+      "type": "node-workspace",
+      "merge": false
+    },
+    {
+      "type": "linked-versions",
+      "groupName": "simulator-ui-ocpp-server",
+      "components": ["simulator", "ui", "ocpp-server"]
+    }
+  ],
   "changelog-sections": [
     { "type": "feat", "section": "🚀 Features", "hidden": false },
     { "type": "fix", "section": "🐞 Fixes", "hidden": false },