9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00

[ci skip] Update pre release message

This commit is contained in:
violetc
2023-03-19 22:32:22 +08:00
parent c1c929da04
commit 3b89a2e795

View File

@@ -35,7 +35,7 @@ echo "$leavesid [![download](https://img.shields.io/github/downloads/LeavesMC/Le
echo "=====" >> $releaseinfo
echo "" >> $releaseinfo
if [ $preVersion = "true" ]; then
echo "> This is early, experimental build. They are only recommended for usage on test servers and should be used with caution." >> $releaseinfo
echo "> This is early, experimental build. It is only recommended for usage on test servers and should be used with caution." >> $releaseinfo
echo "> **Backups are mandatory!**" >> $releaseinfo
echo "" >> $releaseinfo
fi
@@ -53,4 +53,4 @@ echo "| SHA1 | `sha1 $jarName` |" >> $releaseinfo
echo -n "{\"content\":\"Leaves New Release\",\"embeds\":[{\"title\":\"$leavesid\",\"url\":\"https://github.com/LeavesMC/Leaves/releases/tag/$tagid\",\"fields\":[{\"name\":\"Changelog\",\"value\":\"" >> $discordmes
echo -n $(git log --oneline --pretty='> [%h] %s\\n' -$number) >> $discordmes
echo "\",\"inline\":true}]}]}" >> $discordmes
echo "\",\"inline\":true}]}]}" >> $discordmes