Skip to content

Commit

Permalink
chore: update release-prepare.sh to deal with less escaped markdown
Browse files Browse the repository at this point in the history
Thanks to mdformat no longer escaping brackets everywhere, we can
simplify a regex.

Signed-off-by: Patrick Roy <[email protected]>
  • Loading branch information
roypat authored and ShadowCurse committed Dec 11, 2024
1 parent 70c295e commit c8fa501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/release-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8fa501

Please sign in to comment.