summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/auto-changelog8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/auto-changelog b/bin/auto-changelog
index dcf33a2..2b8187f 100755
--- a/bin/auto-changelog
+++ b/bin/auto-changelog
@@ -6,7 +6,7 @@ list-files() {
}
list-articles() {
- list-files | grep -E '^src/.*[.](md|org)$' | grep -v -e '/index[.]md$' -e '/ChangeLog[.]md$'
+ list-files | grep -E '^src/.*[.](md|org)$' | grep -v -e '/index[.]md$' -e '/changelog[.]md$'
}
should-insert() {
@@ -30,15 +30,15 @@ insert() {
generate-entry | html_escape
echo
- cat src/ChangeLog.md | sed '1,3d'
- } | bin/write-atomic src/ChangeLog.md
+ cat src/changelog.md | sed '1,3d'
+ } | bin/write-atomic src/changelog.md
}
main() {
cd "$(dirname -- "$0")/.."
if should-insert; then
insert
- git add src/ChangeLog.md
+ git add src/changelog.md
git commit -m 'Auto-insert entry to ChangeLog'
fi
}