1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-16 00:23:52 +03:00

autobuild: added a EDITOR script to mark successful autobuilds

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Andrew Tridgell
2010-09-25 15:30:13 -07:00
parent f7fb272e95
commit 91b62a2744
2 changed files with 37 additions and 7 deletions

9
script/commit_mark.sh Executable file
View File

@@ -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 <<EOF >> "$1"
Autobuild-User: $fullname <$USER@samba.org>
Autobuild-Date: $(date) on $(hostname)
EOF
exit 0