fix(bump): preserve existing changelog header when `changelog_merge_prerelease` is used with `cz bump --changelog` by edgarrmondragon · Pull Request #1850 · commitizen-tools/commitizen

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
…rerelease` is used with `cz bump --changelog`

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
…rerelease` is used with `cz bump --changelog`, and no prereleases exist

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>

edgarrmondragon added a commit to meltano/meltano that referenced this pull request

Feb 5, 2026
<!--

Please, go through these steps when you submit a PR.

1. Make sure your branch is not protected. In particular, avoid making
PRs from the `main` branch of your fork.

2. Give a descriptive title to your PR. We use semantic titles, and the
accepted types and scopes are listed in
https://github.com/meltano/meltano/blob/main/.github/semantic.yml.

   A good title should look like this:

   ```
feat(cli): The `meltano run` command now accepts a `--timeout` option to
limit the time it runs
   ```

3. Provide a description of your changes.

4. Put "Closes #XXXX" in your comment to auto-close the issue that your
PR fixes (if such).

-->

## Description

<!-- Describe the changes introduced by this PR -->

## Related Issues

* commitizen-tools/commitizen#1850

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>

edgarrmondragon added a commit to meltano/meltano that referenced this pull request

Feb 5, 2026
<!--

Please, go through these steps when you submit a PR.

1. Make sure your branch is not protected. In particular, avoid making
PRs from the `main` branch of your fork.

2. Give a descriptive title to your PR. We use semantic titles, and the
accepted types and scopes are listed in
https://github.com/meltano/meltano/blob/main/.github/semantic.yml.

   A good title should look like this:

   ```
feat(cli): The `meltano run` command now accepts a `--timeout` option to
limit the time it runs
   ```

3. Provide a description of your changes.

4. Put "Closes #XXXX" in your comment to auto-close the issue that your
PR fixes (if such).

-->

## Description

<!-- Describe the changes introduced by this PR -->

## Related Issues

* commitizen-tools/commitizen#1850

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>

bearomorphism

@edgarrmondragon

@edgarrmondragon

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>

@edgarrmondragon

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>

edgarrmondragon

@edgarrmondragon

bearomorphism

@edgarrmondragon

Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>

@bearomorphism bearomorphism changed the title fix(bump): Preserve existing changelog header when changelog_merge_prerelease is used with cz bump --changelog fix(bump): preserve existing changelog header when changelog_merge_prerelease is used with cz bump --changelog

Feb 7, 2026

bearomorphism