[dev] Make init script use different author names

Lets us differentiate whats Vanilla and whats from CB at a glance in IJ.
This commit is contained in:
Zach Brown 2019-03-06 00:14:07 -05:00
parent 2c9924816f
commit 9fdcbf5c9b
No known key found for this signature in database
GPG Key ID: CC9DA35FC5450B76
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ do
cp "$nms/$file" "$cb/$file" cp "$nms/$file" "$cb/$file"
done done
$gitcmd add src $gitcmd add src
$gitcmd commit -m "Minecraft $ $(date)" --author="Auto <auto@mated.null>" $gitcmd commit -m "Minecraft $ $(date)" --author="Vanilla <auto@mated.null>"
# apply patches # apply patches
for file in $(ls nms-patches) for file in $(ls nms-patches)
@ -46,6 +46,6 @@ do
done done
$gitcmd add src $gitcmd add src
$gitcmd commit -m "CraftBukkit $ $(date)" --author="Auto <auto@mated.null>" $gitcmd commit -m "CraftBukkit $ $(date)" --author="CraftBukkit <auto@mated.null>"
$gitcmd checkout -f HEAD~2 $gitcmd checkout -f HEAD~2
) )