summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-09 18:17:41 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-09 18:17:41 -0500
commitd09f0e2196330100a2621a127f7cd52fec69b97d (patch)
treee6ca7f65bd5157071fdbf14f99ee43c38876deed /bin
parentf582680627713f2b67c8506b4e3692d25b742298 (diff)
rename everything to be lowercase URLs.
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
}