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

@@ -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