Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanYuuki committed Dec 28, 2024
2 parents 586f621 + 6008acf commit 9f11e39
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/Notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ jobs:
remaining_commits=$((commit_count - $(echo "$trimmed_commit" | grep -oE '\b[0-9a-f]{7,}\b' | wc -l)))
# Construct the message with a note about remaining commits
MESSAGE="Release Notes:
MESSAGE="**🚀 New Release: ${RELEASE_NAME}**
Release Notes:
$trimmed_commit
📌 Note: There are $remaining_commits more commits.
Expand All @@ -137,7 +137,6 @@ jobs:
# Use the complete commit message
MESSAGE="**🚀 New Release: ${RELEASE_NAME}**
Release Notes:
$tel_commit"
fi
Expand Down Expand Up @@ -196,15 +195,13 @@ jobs:

# Construct the message with a note about remaining commits
discord_message="Release Notes:

$trimmed_commit

📌 Note: There are $remaining_commits more commits.*
[View Full changelog here](https://github.com/RyanYuuki/AnymeX/releases/tag/${{ env.LATEST_TAG }})"
else
# Use the full message if within the limit
discord_message="Release Notes:

$discord_commit"
fi

Expand Down

0 comments on commit 9f11e39

Please sign in to comment.