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
# 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
else
svn up "$1"
fi
exit
# Update the candidates branch, if any.
[ -d "$2" ] && svn up "$2"