From ed073f331d12ef1976adf57c12c439aade5877c3 Mon Sep 17 00:00:00 2001 From: Christopher Schnick Date: Tue, 11 Oct 2022 20:22:48 +0200 Subject: [PATCH] Remove announcement --- .github/workflows/publish.yml | 2 +- jreleaser.gradle | 10 ---------- misc/discord_full.tpl | 8 -------- misc/discord_pre.tpl | 11 ----------- 4 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 misc/discord_full.tpl delete mode 100644 misc/discord_pre.tpl diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5dcbd7dd..157b144c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }} diff --git a/jreleaser.gradle b/jreleaser.gradle index afd828ba..a5812810 100644 --- a/jreleaser.gradle +++ b/jreleaser.gradle @@ -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' - } - } - } } diff --git a/misc/discord_full.tpl b/misc/discord_full.tpl deleted file mode 100644 index 5a0b2504..00000000 --- a/misc/discord_full.tpl +++ /dev/null @@ -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}}} \ No newline at end of file diff --git a/misc/discord_pre.tpl b/misc/discord_pre.tpl deleted file mode 100644 index 4756bf33..00000000 --- a/misc/discord_pre.tpl +++ /dev/null @@ -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}}} \ No newline at end of file