mirror of
https://github.com/YatopiaMC/Yatopia.git
synced 2024-11-26 12:45:52 +01:00
17 lines
352 B
Bash
Executable File
17 lines
352 B
Bash
Executable File
#!/usr/bin/env bash
|
|
(
|
|
set -e
|
|
PS1="$"
|
|
|
|
function changelog() {
|
|
base=$(git ls-tree HEAD $1 | cut -d' ' -f3 | cut -f1)
|
|
cd $1 && git log --oneline ${base}...HEAD
|
|
}
|
|
tuinity=$(changelog Tuinity)
|
|
|
|
log="Updated Tuinity \n\nUpdating our baseline Tuinity reference\n\nTuinity changes since last:\n$tuinity"
|
|
|
|
echo -e "$log" | git commit -F -
|
|
|
|
) || exit 1
|