update-testing-branch.sh: script to do the weekly testing branch update
authorCliff Brake <cbrake@bec-systems.com>
Fri, 4 Feb 2011 14:37:24 +0000 (09:37 -0500)
committerCliff Brake <cbrake@bec-systems.com>
Fri, 4 Feb 2011 14:38:20 +0000 (09:38 -0500)
contrib/testing/update-testing-branch.sh [new file with mode: 0755]

diff --git a/contrib/testing/update-testing-branch.sh b/contrib/testing/update-testing-branch.sh
new file mode 100755 (executable)
index 0000000..2c48af1
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+DATE=`date +%F`
+
+cd /scratch/oe/oe-build/openembedded
+git fetch
+git checkout testing-next
+git merge origin/master
+git push oe-push HEAD
+git branch tested_${DATE}
+
+echo "master has been merged to testing-next and is ready for clean builds" | mail -s "testing branch ${DATE}" openembedded-devel@lists.openembedded.org -- -r "cliff.brake@gmail.com"
+