From 8d11c6b2dba2c3083e3b709e2b8fac0c4e639e12 Mon Sep 17 00:00:00 2001 From: Mridula <66699525+mpeddada1@users.noreply.github.com> Date: Tue, 9 Jan 2024 16:06:16 +0000 Subject: [PATCH] chore: fix release-please-config json extra files parameter (#2349) For https://togithub.com/googleapis/sdk-platform-java/issues/2338 and https://togithub.com/googleapis/sdk-platform-java/pull/2339 Adjusting parameter format to follow https://togithub.com/googleapis/release-please/blob/main/docs/customizing.md#updating-arbitrary-files Example of `extra-files` usage: https://togithub.com/googleapis/java-cloud-bom/blob/17c18f1ec0c92ba51a77ab8e9f3c6189412ecea2/release-please-config.json#L8 --- release-please-config.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/release-please-config.json b/release-please-config.json index 1e917446432..878c6162f13 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -5,7 +5,24 @@ "group-pull-request-title-pattern": "chore(${branch}): release ${version}", "packages": { ".": { - "extraFiles": ["WORKSPACE"] + "extra-files": [ + "WORKSPACE", + { + "type": "yaml", + "path": ".cloudbuild/cloudbuild.yaml", + "jsonpath": "$.substitutions._SHARED_DEPENDENCIES_VERSION" + }, + { + "type": "yaml", + "path": ".cloudbuild/cloudbuild-test-a.yaml", + "jsonpath": "$.substitutions._SHARED_DEPENDENCIES_VERSION" + }, + { + "type": "yaml", + "path": ".cloudbuild/cloudbuild-test-b.yaml", + "jsonpath": "$.substitutions._SHARED_DEPENDENCIES_VERSION" + } + ] } } } \ No newline at end of file