Remove outdated line from changelog

This commit is contained in:
Taiki Endo
2023-03-14 00:58:38 +09:00
parent bb9815bf9d
commit 3d7b60cc55
2 changed files with 1 additions and 2 deletions

View File

@@ -14,8 +14,6 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
- Update `cargo-binstall@latest` to 0.21.2.
- Update `dprint@latest` to 0.35.0.
## [2.5.7] - 2023-03-11
- Update `protoc@latest` to 3.22.2.

View File

@@ -15,6 +15,7 @@ for manifest in manifests/*.json; do
git stash pop
new_version=$(jq -r '.latest.version' "${manifest}")
if [[ "${old_version}" != "${new_version}" ]]; then
# TODO: If there is a line about updating the same tool in the "Unreleased" section, replace it.
msg="Update \`${name}@latest\` to ${new_version}"
sed -i "s/^## \\[Unreleased\\]/## [Unreleased]\\n\\n- ${msg}./" CHANGELOG.md
git add "${manifest}" CHANGELOG.md