diff --git a/packages/google-cloud-language/release-please-config.json b/packages/google-cloud-language/release-please-config.json new file mode 100644 index 000000000000..1744dcba19bc --- /dev/null +++ b/packages/google-cloud-language/release-please-config.json @@ -0,0 +1,20 @@ +{ + "$schema": +"https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "packages": {}, + "release-type": "python", + "extra-files": [ + "**/gapic_version.py", + { + "type": "json", + "path": "samples/generated_samples/snippet_metadata*.json", + "jsonpath": "$.clientLibrary.version" + } + ], + "plugins": [ + { + "type": "sentence-case" + } + ], + "initial-version": "0.1.0" +} diff --git a/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1.json b/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1.json index f633a498d5a8..936a8b703ba1 100644 --- a/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1.json +++ b/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1.json @@ -7,7 +7,8 @@ } ], "language": "PYTHON", - "name": "google-cloud-language" + "name": "google-cloud-language", + "version": "0.1.0" }, "snippets": [ { diff --git a/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1beta2.json b/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1beta2.json index 2184122a94dc..a4368f2d433a 100644 --- a/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1beta2.json +++ b/packages/google-cloud-language/samples/generated_samples/snippet_metadata_language_v1beta2.json @@ -7,7 +7,8 @@ } ], "language": "PYTHON", - "name": "google-cloud-language" + "name": "google-cloud-language", + "version": "0.1.0" }, "snippets": [ {