16 lines
297 B
Plaintext
16 lines
297 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
set -e
|
||
|
|
||
|
tmp="$(mktemp -t "$(basename "$0").XXXXXXXXXX")"
|
||
|
|
||
|
printf "
|
||
|
$VERSION / $(date +"%Y-%m-%d")
|
||
|
==================
|
||
|
|
||
|
$(git --no-pager log --no-merges --pretty="format: * %s (%an)" $PREVIOUS_VERSION..)
|
||
|
" >"$tmp"
|
||
|
|
||
|
cat History.md >>"$tmp"
|
||
|
mv "$tmp" History.md
|
||
|
git add History.md
|