Skip to content

Commit a40965f

Browse files
author
Michael Cooper
committed
restore update-repo.sh
1 parent 2394704 commit a40965f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

update-repo.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
git clone --depth=1 --branch=$2 https://github.com/w3c/$1.git $1-$2
3+
[[ -d $1-$2/common ]] || mkdir -p $1-$2/common
4+
cp -r README.md acknowledgements.html biblio.js terms.html acknowledgements css img script utility $1-$2/common
5+
cd $1-$2
6+
git add -A .
7+
git commit -m "TRAVIS-CI update from aria-common"
8+
git push "https://${GH_TOKEN}@github.com/w3c/$1.git" $2 > /dev/null 2>&1
9+
cd ..

0 commit comments

Comments
 (0)