update.sh: Added a roa/README.md to generated output
This commit is contained in:
parent
e9b77861e7
commit
4edb0b53ea
11
update.sh
11
update.sh
|
@ -12,10 +12,17 @@ git -C ../registry/ checkout master --quiet
|
||||||
php roagen.php
|
php roagen.php
|
||||||
php rfc8416.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
|
# Commit latest version of ROA files
|
||||||
git add roa/*
|
git add roa/*
|
||||||
git commit roa/* -m "Updated ROA files - $ISO_DATE" --quiet
|
git commit roa/* -m "Updated ROA files - $ISO_DATE" --quiet
|
||||||
|
|
||||||
# Push repository to every remote configured
|
# Push repository to every remote configured
|
||||||
for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do
|
for REMOTE in $(git remote | egrep -v upstream | paste -sd " " -) ; do git push $REMOTE master:master --quiet ; done
|
||||||
git push $REMOTE master:master --quiet ; done
|
|
||||||
|
|
Loading…
Reference in a new issue