Skip to content
Snippets Groups Projects

WIP: Don't insert "No changes" for a pre-existing version header

Open Robert Speicher requested to merge rs-no-changes-with-pre-existing-header into master

This makes Changelog::Updater idempotent. If we perform a release, updating the changelog and removing the data files, then abort for some reason during a later phase, re-running the release process will no longer insert "No changes" directly above a bunch of changes that we just inserted during the previous run.

To facilitate this, Changelog::Updater#insert no longer takes a String of Markdown to insert, but instead takes the MarkdownGenerator object so that we can query its entries property before performing the insert.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading