Update rfc8416.php update.sh

This commit is contained in:
netravnen 2018-12-15 09:53:03 +00:00
parent be10fa318f
commit f7aba9160a
2 changed files with 1 additions and 5 deletions

View file

@ -260,7 +260,7 @@ foreach ($raw_array as $sub_array)
$json = json_encode($roas, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);
// Write JSON to file
$fp = fopen('dn42-rfc8416-export.json', 'w');
$fp = fopen('roa/export_rfc8416_dn42.json', 'w');
fwrite($fp, $json);
fclose($fp);

View file

@ -6,9 +6,5 @@ ISO_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
git add roa/*
git commit roa/* -m "Updated ROA files - $ISO_DATE"
# Commit latest version of dn42-rfc8416-export.json
git add dn42-rfc8416-export.json
git commit dn42-rfc8416-export.json -m "Updated dn42-rfc8416-export.json - $ISO_DATE"
# Push repository to every remote configured
for REMOTE in $(git remote | paste -sd " " -) ; do git ps $REMOTE master ; done