Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- base=~/Git
- cd "$base"
- for d in $(find $base/*_Build -name "Dockerfile"); do
- echo $d
- cd "$(echo "$d" | sed 's/Dockerfile//g')"
- git co master
- sed -i "s/# Force autobuild.*/# Force autobuild $(date +%s)/" $d
- git add Dockerfile
- git commit -m "Force autobuild"
- git push
- cd "$base"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement