From 91b62a274411477f67f50f0f653dd17bf1e65c1d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 25 Sep 2010 15:30:13 -0700 Subject: autobuild: added a EDITOR script to mark successful autobuilds Pair-Programmed-With: Stefan Metzmacher --- script/commit_mark.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 script/commit_mark.sh (limited to 'script/commit_mark.sh') diff --git a/script/commit_mark.sh b/script/commit_mark.sh new file mode 100755 index 0000000000..38328c4827 --- /dev/null +++ b/script/commit_mark.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# add a autobuild message to the HEAD commit + +fullname=$(getent passwd $USER | cut -d: -f5| cut -d',' -f1) +cat <> "$1" +Autobuild-User: $fullname <$USER@samba.org> +Autobuild-Date: $(date) on $(hostname) +EOF +exit 0 -- cgit