dn42-roagen/update.sh

11 lines
287 B
Bash
Raw Normal View History

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