1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/script/commit_mark.sh
Andrew Tridgell 91b62a2744 autobuild: added a EDITOR script to mark successful autobuilds
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-09-26 01:21:49 +00:00

10 lines
229 B
Bash
Executable File

#!/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