aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorYasin <LifeIsAParadox@users.noreply.github.com>2023-08-15 23:23:45 +0200
committerGitHub <noreply@github.com>2023-08-15 23:23:45 +0200
commitf0ff97526d15d300aeaa65465f4a784339382c58 (patch)
tree8db0c48339f6eb09cf4e8660c32cf7cb2eae468c /.github/workflows
parentfcff994aa9bd51722971520e6d758af3fbbd350b (diff)
parentaabe1d8cdc5b7afe9cc67ea31be13a415c228d7f (diff)
downloadSkyblocker-f0ff97526d15d300aeaa65465f4a784339382c58.tar.gz
Skyblocker-f0ff97526d15d300aeaa65465f4a784339382c58.tar.bz2
Skyblocker-f0ff97526d15d300aeaa65465f4a784339382c58.zip
Merge pull request #243 from LifeIsAParadox/update-mod-to-1.12.0
Update mod to 1.12.0
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/buildrelease.yml32
1 files changed, 16 insertions, 16 deletions
diff --git a/.github/workflows/buildrelease.yml b/.github/workflows/buildrelease.yml
index 2428e2b5..fde5785b 100644
--- a/.github/workflows/buildrelease.yml
+++ b/.github/workflows/buildrelease.yml
@@ -82,7 +82,7 @@ jobs:
' ORS='\n' <<< "$changelog")
# Format the modified_changelog by removing "@" characters and enclosing URLs in "<>"
- modified_changelog=$(echo "$modified_changelog" | sed -e 's/@//g' -e 's|https\?://[^[:space:]]*|<\0>|g')
+ # modified_changelog=$(echo "$modified_changelog" | sed -e 's/@//g' -e 's|https\?://[^[:space:]]*|<\0>|g')
# Store the modified_changelog in the CHANGELOG variable
CHANGELOG=$(echo -n "$modified_changelog")
@@ -124,18 +124,18 @@ jobs:
echo "::set-output name=value::${GITHUB_REF#refs/tags/}"
- name: Discord notification
- env:
- DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
- uses: Ilshidur/action-discord@master
- with:
- args: |
- "<@&1134565945482948638>"
- "## Skyblocker ${{ steps.version_tag.outputs.value }}"
- ""
- "${{ steps.read_changelog.outputs.changelog_discord }}"
- ""
- ":inbox_tray: Download latest version on Modrinth or Github:"
- "<:modrinth:900697862206287882> <${{ steps.modrinth.outputs.url }}>"
- "<:github:900697885706952725> <${{ steps.uploadrelease.outputs.url }}>"
- ""
- "<https://hysky.de/>"
+ shell: bash
+ run: |
+ OUTPUT="
+ <@&1134565945482948638>
+ ## Skyblocker ${{ steps.version_tag.outputs.value }}
+
+ ${{ steps.read_changelog.outputs.changelog_discord }}
+
+ :inbox_tray: Download latest version on Modrinth or Github:
+ <:modrinth:900697862206287882> ${{ steps.modrinth.outputs.url }}
+ <:github:900697885706952725> ${{ steps.uploadrelease.outputs.url }}
+
+ https://hysky.de/"
+
+ curl -H "Content-Type: application/json" -d '{"content":"'"${OUTPUT//$'\n'/\\n}"'", "flags": 4}' "${{ secrets.DISCORD_WEBHOOK }}" \ No newline at end of file