10 lines
345 B
Bash
10 lines
345 B
Bash
|
#!/bin/sh
|
||
|
git add *
|
||
|
tree -I md5 | grep -vE "profiles|metadata|md5|Manifest|README|xml|repo_name|conf|directories" > .tree
|
||
|
cp -f README.tp.md README.md
|
||
|
printf "\n## List of all ebuilds\n" >> README.md
|
||
|
cat .tree >> README.md
|
||
|
markdown README.md > README.html
|
||
|
rm -f .tree
|
||
|
git commit -m "Update overlay" && git push && printf "Successfully pushed\n"
|