update.sh: Added a roa/README.md to generated output

This commit is contained in:
netravnen 2018-12-23 20:53:22 +00:00
parent e9b77861e7
commit 4edb0b53ea

View file

@ -12,10 +12,17 @@ git -C ../registry/ checkout master --quiet
php roagen.php
php rfc8416.php
# Write out last commit to file
echo "## Last commit
\`\`\`
$(git -C ../registry/ show)
\`\`\`
" | tee roa/README.md
# Commit latest version of ROA files
git add roa/*
git commit roa/* -m "Updated ROA files - $ISO_DATE" --quiet
# Push repository to every remote configured
for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do
git push $REMOTE master:master --quiet ; done
for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do git push $REMOTE master:master --quiet ; done