dn42-roagen/update.sh
2019-01-04 09:34:24 +00:00

11 lines
287 B
Bash
Executable file

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