Skip to content

Commit

Permalink
= Github Workflow fix?
Browse files Browse the repository at this point in the history
Test
.
  • Loading branch information
May2Beez committed Nov 26, 2023
1 parent 18579cf commit faa16e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
COMMIT_MESSAGE="${{ github.event.head_commit.message }}"
COMMIT_URL="${{ github.event.head_commit.url }}"
SHORT_COMMIT_SHA="${{ steps.short_sha.outputs.sha_short }}"
escaped_commit_message=$(echo "${COMMIT_MESSAGE}" | sed -e 's/"/\\"/g' -e 's/\//\\\/g')
curl -X POST -H "Content-Type: application/json" \
-d "{
\"embeds\": [
Expand All @@ -94,7 +95,7 @@ jobs:
\"fields\": [
{
\"name\": \"Latest Commit\",
\"value\": \"**${COMMIT_MESSAGE}**\"
\"value\": \"**${escaped_commit_message}**\"
},
{
\"name\": \"Commit ID\",
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ baseGroup=com.jelly.farmhelperv2
mcVersion=1.8.9
modid=farmhelperv2
modName=FarmHelper
version=2.0.1
version=2.0.2-pre
shouldRelease=true

0 comments on commit faa16e1

Please sign in to comment.