To support updating global files during a release the release command needs to provide the container with a complete list of all libraries regardless of whether they are being released or not.
release-request.json is modified to include a list of all libraries in the repository.
- Each API in the request includes a
releasing field to indicate if it is being released or not.
Example:
{
"libraries": [
{
"id": "google-cloud-secretmanager-v1",
"releasing": true,
"version": "1.3.0",
"apis": [
{ "path": "google/cloud/secretmanager/v1" }
],
"source_roots": [ "secretmanager" ]
},
{
"id": "google-cloud-pubsub-v1",
"releasing": false,
"version": "1.15.2",
"apis": [
{ "path": "google/pubsub/v1" }
],
"source_roots": [ "pubsub" ]
},
{
"id": "google-cloud-spanner-v1",
"releasing": true,
"version": "2.1.0",
"apis": [
{ "path": "google/spanner/v1" }
],
"source_roots": [ "spanner" ]
}
]
}
See: go/librarian:global-file-edits
To support updating global files during a release the release command needs to provide the container with a complete list of all libraries regardless of whether they are being released or not.
release-request.jsonis modified to include a list of all libraries in the repository.releasingfield to indicate if it is being released or not.Example:
{ "libraries": [ { "id": "google-cloud-secretmanager-v1", "releasing": true, "version": "1.3.0", "apis": [ { "path": "google/cloud/secretmanager/v1" } ], "source_roots": [ "secretmanager" ] }, { "id": "google-cloud-pubsub-v1", "releasing": false, "version": "1.15.2", "apis": [ { "path": "google/pubsub/v1" } ], "source_roots": [ "pubsub" ] }, { "id": "google-cloud-spanner-v1", "releasing": true, "version": "2.1.0", "apis": [ { "path": "google/spanner/v1" } ], "source_roots": [ "spanner" ] } ] }See: go/librarian:global-file-edits