dn42-roagen/update.sh
netravnen 199881dc79 Readded update.sh
o Now includes commit to dn42-rpki-export.json
2019-01-04 09:33:04 +00:00

11 lines
341 B
Bash
Executable file

#!/bin/bash
ISO_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
# Commit latest version of dn42-rpki-export.json
git add dn42-rpki-export.json
git commit dn42-rpki-export.json -m "Updated dn42-rpki-export.json - $ISO_DATE"
# Push repository to every remote configured
for REMOTE in $(git remote | paste -sd " " -) ; do git ps $REMOTE master ; done