mirror of
https://github.com/BX-Team/DivineMC.git
synced 2025-12-19 14:59:25 +00:00
update release script
This commit is contained in:
@@ -39,24 +39,21 @@ mv divinemc-server/build/libs/divinemc-paperclip-"$version"-mojmap.jar "$jarName
|
|||||||
} >> "$GITHUB_ENV"
|
} >> "$GITHUB_ENV"
|
||||||
|
|
||||||
{
|
{
|
||||||
echo "$divinemcid [](https://github.com/BX-Team/DivineMC/releases/download/$tagid/$jarName)"
|
echo "### 📜 Commits:"
|
||||||
echo "====="
|
|
||||||
echo ""
|
|
||||||
if [ "$experimental" = "true" ]; then
|
if [ "$experimental" = "true" ]; then
|
||||||
echo "> [!WARNING]"
|
echo "> [!WARNING]"
|
||||||
echo "> This is an early, experimental build. It is only recommended for usage on test servers and should be used with caution."
|
echo "> This is an experimental build, it may contain bugs and issues. Use at your own risk."
|
||||||
echo "> **Backups are mandatory!**"
|
echo "> **Backups are mandatory!**"
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
fi
|
||||||
echo "### Commits"
|
|
||||||
} >> $changelog
|
} >> $changelog
|
||||||
|
|
||||||
number=$(git log --oneline master ^"$(git describe --tags --abbrev=0)" | wc -l)
|
number=$(git log --oneline master ^"$(git describe --tags --abbrev=0)" | wc -l)
|
||||||
git log --pretty='> [%h] %s' "-$number" >> $changelog
|
git log --pretty='- [%h](https://github.com/BX-Team/DivineMC/commit/%H) %s' "-$number" >> $changelog
|
||||||
|
|
||||||
{
|
{
|
||||||
echo ""
|
echo ""
|
||||||
echo "### Checksum"
|
echo "### 🔒 Checksums:"
|
||||||
echo "| File | $jarName |"
|
echo "| File | $jarName |"
|
||||||
echo "| ---- | ---- |"
|
echo "| ---- | ---- |"
|
||||||
echo "| MD5 | $(md5 "$jarName") |"
|
echo "| MD5 | $(md5 "$jarName") |"
|
||||||
|
|||||||
Reference in New Issue
Block a user