Skip to content

librarian: librarian release init does not propose the correct version number #1830

@parthea

Description

@parthea

I created a commit in packages/google-cloud-language with feat but librarian didn't bump the version

Contents of release-init-request.json

{
    "image": "[us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev/python-librarian-generator:latest](https://www.google.com/url?q=http://us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-dev/python-librarian-generator:latest&sa=D&source=docs&ust=1756224707800885&usg=AOvVaw2DzUvXPmNRHgbSNNtVLsNv)",
    "libraries": [
        {
            "id": "google-cloud-language",
            "version": "2.17.2",
            "last_generated_commit": "97a83d76a09a7f6dcab43675c87bdfeb5bcf1cb5",
            "changes": [
                {
                    "type": "feat",
                    "subject": "some important feature",
                    "body": "",
                    "piper_cl_number": "",
                    "source_commit_hash": "c56006d8c9c68034325953a4d944dad2b956ac10",
                },
                {
                    "type": "chore",
                    "subject": "remove pylint.config.py which is unused (#14192)",
                    "body": "This PR removes unused `pylint.config.py` files",
                    "piper_cl_number": "",
                    "source_commit_hash": "10779be1c9c99e4f7bfdb0f8cddde1a9e64cb3e5",
                },
            ],
            "apis": [
                {
                    "path": "google/cloud/language/v1beta2",
                    "service_config": "",
                    "status": "",
                },
                {
                    "path": "google/cloud/language/v2",
                    "service_config": "",
                    "status": "",
                },
                {
                    "path": "google/cloud/language/v1",
                    "service_config": "",
                    "status": "",
                },
            ],
            "source_roots": ["packages/google-cloud-language"],
            "preserve_regex": [
                ".OwlBot.yaml",
                "CHANGELOG.md",
                "docs/CHANGELOG.md",
                "docs/README.rst",
                "samples/README.txt",
                "tar.gz",
                "gapic_version.py",
                "scripts/client-post-processing",
            ],
            "remove_regex": ["packages/google-cloud-language"],
            "tag_format": "{id}-v{version}",
            "release_triggered": True,
        }
    ],
}

Librarian included feat in the list of changes but the version of google-cloud-language remained unchanged at 2.17.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions