Merge branch 'ver/1.18' of https://github.com/pl3xgaming/Purpur into ver/1.18

This commit is contained in:
Ben Kerllenevich
2021-12-02 06:40:29 -05:00

View File

@@ -1,28 +0,0 @@
#!/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
}
paper=$(changelog .gradle/caches/paperweight/upstreams/paper)
updated=""
logsuffix=""
if [ ! -z "$paper" ]; then
logsuffix="$logsuffix\n\nPaper Changes:\n$paper"
updated="Paper"
fi
disclaimer="Upstream has released updates that appear to apply and compile correctly"
if [ ! -z "$1" ]; then
disclaimer="$@"
fi
log="${UP_LOG_PREFIX}Updated Upstream ($updated)\n\n${disclaimer}${logsuffix}"
echo -e "$log" | git commit -F -
) || exit 1