Skip to content

librarian: Update release-request.json to list all libraries for global file edits #1655

@meltsufin

Description

@meltsufin

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions