From a82d8ed1411071473be4e9d7cce282071af4211b Mon Sep 17 00:00:00 2001 From: duncte123 Date: Sun, 26 Nov 2023 20:08:46 +0100 Subject: [PATCH] Better message for pre-releases --- plugin/build.gradle.kts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/plugin/build.gradle.kts b/plugin/build.gradle.kts index 0ff000f..47d76e1 100644 --- a/plugin/build.gradle.kts +++ b/plugin/build.gradle.kts @@ -93,7 +93,15 @@ githubRelease { prerelease(preRelease) if (preRelease) { - body("This is a pre-release version. Please do not use it in production.") + body("""This is a pre-release version. Please do not use it in production. To use it set `snapshot` to true in your plugin configuration. + |Example: + |```yml + |lavalink: + | plugins: + | - dependency: "com.dunctebot:skybot-lavalink-plugin:VERSION" + | snapshot: true + |``` + """.trimMargin()) } else { body(changelog()) }