first commit
This commit is contained in:
17
build/node_modules/cheerio/scripts/prepublish
generated
vendored
Executable file
17
build/node_modules/cheerio/scripts/prepublish
generated
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
tmp="$(mktemp -t "$(basename "$0").XXXXXXXXXX")"
|
||||
|
||||
log="$(git --no-pager log --no-merges --pretty="format: * %s (%an)" $PREVIOUS_VERSION..)"
|
||||
|
||||
printf "
|
||||
$VERSION / $(date +"%Y-%m-%d")
|
||||
==================
|
||||
|
||||
$log
|
||||
" >"$tmp"
|
||||
|
||||
cat History.md >>"$tmp"
|
||||
mv "$tmp" History.md
|
||||
git add History.md
|
||||
Reference in New Issue
Block a user