Skip to content

Commit

Permalink
Better message for pre-releases
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Nov 26, 2023
1 parent f798ea7 commit a82d8ed
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand Down

0 comments on commit a82d8ed

Please sign in to comment.