Updated Hook info
This commit is contained in:
parent
f7190717d7
commit
7c7b3836aa
12
README.md
12
README.md
|
@ -8,9 +8,15 @@
|
|||
|
||||
if [[ ! -z "$VIRTUAL_ENV" ]]
|
||||
then
|
||||
clickusagemd ${GIT_DIR}pyproject.toml || exit 1
|
||||
git add ${GIT_DIR}USAGE.md || exit 1
|
||||
git commit -m"Autogenerated USAGE.md updated and added."
|
||||
while read -d $'\0' arg ; do
|
||||
echo $arg
|
||||
if [[ "$arg" == '--follow-tags' ]] ; then
|
||||
clickusagemd ${GIT_DIR}pyproject.toml || exit 1
|
||||
git add ${GIT_DIR}USAGE.md || exit 1
|
||||
git commit -m"Autogenerated USAGE.md updated and added."
|
||||
exit 0
|
||||
fi
|
||||
done < /proc/$PPID/cmdline
|
||||
fi
|
||||
|
||||
exit 0
|
||||
|
|
Loading…
Reference in New Issue