Remove announcement

This commit is contained in:
Christopher Schnick 2022-10-11 20:22:48 +02:00
parent 55af11399c
commit ed073f331d
4 changed files with 1 additions and 30 deletions

View file

@ -32,7 +32,7 @@ jobs:
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
- name: JReleaser
run: ./gradlew jreleaserRelease jreleaserAnnounce
run: ./gradlew jreleaserRelease
env:
XPIPE_GITHUB_TOKEN: ${{ secrets.XPIPE_GITHUB_TOKEN }}
XPIPE_DISCORD_WEBHOOK: ${{ secrets.XPIPE_DISCORD_WEBHOOK }}

View file

@ -80,14 +80,4 @@ jreleaser {
}
}
}
if (isFullRelease) {
announce {
discord {
active = 'RELEASE'
webhook = proj.hasProperty("XPIPE_DISCORD_WEBHOOK") ? proj.property("XPIPE_DISCORD_WEBHOOK") : System.getenv("XPIPE_DISCORD_WEBHOOK")
messageTemplate = isFullRelease ? 'misc/discord_full.tpl' : 'misc/discord_pre.tpl'
}
}
}
}

View file

@ -1,8 +0,0 @@
@everyone
🚀 {{projectName}} {{projectVersion}} has been released: {{releaseNotesUrl}}
The documentation and maven repositories should be automatically updated within the next couple of hours.
Changes in {{projectVersion}}:
{{{rawChangelog}}}

View file

@ -1,11 +0,0 @@
@everyone
🚀 {{projectName}} {{projectVersion}} has been released: {{releaseNotesUrl}}
Note that as this is not a final release, there might still be some small issues with it.
Please report them if you stumble upon one.
The documentation and maven repositories should be automatically updated within the next couple of hours.
Changes in {{projectVersion}}:
{{{rawChangelog}}}