Implement testsuite-Monday, testsuite-Tuesday, and so on...

This commit is contained in:
Laurent Rineau 2012-12-18 20:37:55 +01:00
parent 9207f428c8
commit 559aeb948f
1 changed files with 3 additions and 1 deletions

View File

@ -12,12 +12,14 @@ if [ -d "$1/.git" ]; then
git clean -f git clean -f
# Hard-reset integration "every day" even if today's "$branch" is not integration # Hard-reset integration "every day" even if today's "$branch" is not integration
git push -f origin origin/master:integration # and create testsuite-Monday, testsuite-Tuesday, and so on...
git push -f origin origin/$branch:refs/heads/`date '+testsuite-%A'` origin/master:integration
popd popd
else else
svn up "$1" svn up "$1"
fi fi
exit
# Update the candidates branch, if any. # Update the candidates branch, if any.
[ -d "$2" ] && svn up "$2" [ -d "$2" ] && svn up "$2"