summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index d130b85..1df5612 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -96,12 +96,12 @@ jobs:
TAG_NAME=${GITHUB_REF#refs/tags/}
VERSION=${{ needs.validate.outputs.version }}
JAR_NAME=${{ needs.validate.outputs.jar_name }}
- VERSION_ANCHOR=$(echo "$VERSION" | tr -d '.')
gh release create "$TAG_NAME" \
"$JAR_NAME" \
--title "$TAG_NAME" \
- --notes "Please refer to [changelog](./CHANGELOG.md#v${VERSION_ANCHOR}) for update details."
+ --draft \
+ --notes ""
- name: Publish to Modrinth
uses: cloudnode-pro/modrinth-publish@0a5268ad092d4727bb6424326746fa2fe88761ff # v2
@@ -112,7 +112,7 @@ jobs:
version: ${{ needs.validate.outputs.version }}
channel: beta
changelog: |
- Please refer to [changelog](https://github.com/m1sk9/LunaticChat/blob/main/CHANGELOG.md) for update details.
+ Please refer to the [GitHub release](https://github.com/m1sk9/LunaticChat/releases/tag/v${{ needs.validate.outputs.version }}) for update details.
loaders: paper
game-versions: "1.21.x"
files: ${{ needs.validate.outputs.jar_name }}