File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
33# Script name: build_changelog.sh
4- # Description: this script generates the CHANGES.md file from the changes
5- # directory. It removes the added files.
4+ # Description: this script updates the CHANGES.md file from the the files in
5+ # the changes directory, removing the files as it goes .
66# Author(s): The Dune team
77# Date: 2025-09-29
88#
@@ -36,7 +36,7 @@ generate_version_header() {
3636 add_newline
3737}
3838
39- cat_files_in_dir_if_not_empty () {
39+ append_files_in_dir_if_not_empty () {
4040 subheader=" $1 "
4141 category=" $2 "
4242 dir=" $doc_dir /$category "
@@ -72,9 +72,9 @@ touch "$output"
7272generate_version_header
7373
7474# Extract the information from the changes/**/*.md files
75- cat_files_in_dir_if_not_empty " Fixed" " fixed"
76- cat_files_in_dir_if_not_empty " Added" " added"
77- cat_files_in_dir_if_not_empty " Changed" " changed"
75+ append_files_in_dir_if_not_empty " Fixed" " fixed"
76+ append_files_in_dir_if_not_empty " Added" " added"
77+ append_files_in_dir_if_not_empty " Changed" " changed"
7878
7979# We remove the unreleased header and add the previous changelog to the new
8080# changelog
You can’t perform that action at this time.
0 commit comments