Skip to content

Footer message that keeps replicating #787

Closed
@shinyaohtani

Description

@shinyaohtani

Even if a footer message has already been added to the file specified in config.base, if I execute the script to add a change log for the newly developed part, a footer message will be added one by one every time.

  • before
    This Changelog was automatically generated by...
  • after
    This Changelog was automatically generated by...
    This Changelog was automatically generated by...
  • after 2 times (keep replicating infinitely)
    This Changelog was automatically generated by...
    This Changelog was automatically generated by...
    This Changelog was automatically generated by...

Maybe, this code doesn't work:

log.gsub!(/#{credit_line}(\n)?/, "") # Remove old credit lines

  • Environment
    • macOS Catalina (10.15.4)
    • project: giturl
    • ruby: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions