Update rfc8416.php update.sh
This commit is contained in:
parent
be10fa318f
commit
f7aba9160a
|
@ -260,7 +260,7 @@ foreach ($raw_array as $sub_array)
|
||||||
$json = json_encode($roas, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);
|
$json = json_encode($roas, JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT);
|
||||||
|
|
||||||
// Write JSON to file
|
// Write JSON to file
|
||||||
$fp = fopen('dn42-rfc8416-export.json', 'w');
|
$fp = fopen('roa/export_rfc8416_dn42.json', 'w');
|
||||||
fwrite($fp, $json);
|
fwrite($fp, $json);
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,5 @@ ISO_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
||||||
git add roa/*
|
git add roa/*
|
||||||
git commit roa/* -m "Updated ROA files - $ISO_DATE"
|
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
|
# Push repository to every remote configured
|
||||||
for REMOTE in $(git remote | paste -sd " " -) ; do git ps $REMOTE master ; done
|
for REMOTE in $(git remote | paste -sd " " -) ; do git ps $REMOTE master ; done
|
||||||
|
|
Loading…
Reference in a new issue