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

Final Update CI

This commit is contained in:
violetc
2022-11-29 21:45:46 +08:00
parent 74c2991601
commit efa24b0d58

View File

@@ -44,4 +44,4 @@ echo "| ---- | ---- |" >> $releaseinfo
echo "| MD5 | `md5 $jarName` |" >> $releaseinfo
echo "| SHA1 | `sha1 $jarName` |" >> $releaseinfo
echo "{\"embeds\":[{\"title\":\"$leavesid\",\"url\":\"https://github.com/LeavesMC/Leaves/releases/tag/$tagid\",\"fields\":[{\"name\":\"Changelog\",\"value\":\"$(git log --pretty='> [%h] %s' -$number)\",\"inline\":true}]}]}" >> $discordmes
echo "{\"embeds\":[{\"title\":\"$leavesid\",\"url\":\"https://github.com/LeavesMC/Leaves/releases/tag/$tagid\",\"fields\":[{\"name\":\"Changelog\",\"value\":\"$(git log --oneline --pretty='> [%h] %s' -$number | sed 's/,/\n/g' | awk '{{printf"%s\\n",n$0}}')\",\"inline\":true}]}]}" >> $discordmes