mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-19 15:09:25 +00:00
cleanup
This commit is contained in:
@@ -3,6 +3,7 @@ set -e
|
||||
|
||||
IS_EOL=false
|
||||
IS_UNSUPPORTED=false
|
||||
IS_DEV=false
|
||||
|
||||
JAR_NAME="leaf-1.21.4"
|
||||
CURRENT_TAG="ver-1.21.4"
|
||||
@@ -89,6 +90,16 @@ if [ $IS_UNSUPPORTED = true ]; then
|
||||
} >> $RELEASE_NOTES
|
||||
fi
|
||||
|
||||
# Dev build warning
|
||||
if [ $IS_DEV = true ]; then
|
||||
{
|
||||
echo ""
|
||||
echo "> [!WARNING]"
|
||||
echo "> This is the early dev build, only for testing usage."
|
||||
echo "> Do not use in the production environment!"
|
||||
} >> $RELEASE_NOTES
|
||||
fi
|
||||
|
||||
# Delete current release tag
|
||||
if git show-ref --tags $CURRENT_TAG --quiet; then
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user