Skip to content

Support for Managing Existing Changelog File #5

Open
@bflad

Description

@bflad

Description

Currently, changelog-build covers the case of building a CHANGELOG section for a current release. It would be great if there was the ability to manage an existing CHANGELOG file to add that section.

For example, the Terraform AWS Provider uses a script to build an updated CHANGELOG:

  • Leave top header ("Unreleased"/"Next")
  • changelog-build contents
  • Append the previous release CHANGELOG contents

If this functionality would be acceptable for changelog-build, it would only need two additional pieces of optional information:

  • CHANGELOG file name to manage
  • Enable leaving a top header (e.g. skip line 1, skip line 1 if matching string, or add this line 1)

References

https://github.com/hashicorp/terraform-provider-aws/blob/ad8293cc2ec8556783e4896eed33ae97e56f5919/scripts/generate-changelog.sh#L1-L54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions