dn42-roagen/update.sh

11 lines
285 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 ps $REMOTE master ; done