From c8fa501fb24eabcb8dc239a6cd1b9fd6e32199f0 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Tue, 10 Dec 2024 17:27:32 +0000 Subject: [PATCH] chore: update release-prepare.sh to deal with less escaped markdown Thanks to mdformat no longer escaping brackets everywhere, we can simplify a regex. Signed-off-by: Patrick Roy --- tools/release-prepare.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/release-prepare.sh b/tools/release-prepare.sh index 30c32316944..f74334443ee 100755 --- a/tools/release-prepare.sh +++ b/tools/release-prepare.sh @@ -54,7 +54,7 @@ $FC_TOOLS_DIR/update-credits.sh # Update changelog. say "Updating changelog..." -sed -i "s/\\\\\[Unreleased\\\\\]/\\\\\[$version\\\\\]/g" "$FC_ROOT_DIR/CHANGELOG.md" +sed -i "s/\[Unreleased\]/\[$version\]/g" "$FC_ROOT_DIR/CHANGELOG.md" # Add all changed files git add -u