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:
9
script/commit_mark.sh
Executable file
9
script/commit_mark.sh
Executable 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
|
||||
Reference in New Issue
Block a user