Skip to content

Commit c880cd1

Browse files
helpermethodmarc0der
authored andcommitted
chore: Support Mastodon announcer
1 parent 7e46af3 commit c880cd1

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
JRELEASER_TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
1818
JRELEASER_TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
1919
JRELEASER_TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
20+
JRELEASER_MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN}}
2021
JRELEASER_HOMEBREW_GITHUB_TOKEN: ${{ secrets.HOMEBREW_GITHUB_TOKEN }}
2122
services:
2223
mongodb:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id('groovy')
3-
id('org.jreleaser').version('1.0.0').apply(false)
3+
id('org.jreleaser').version('1.4.0').apply(false)
44
}
55

66
String userHome = System.getProperty('user.home')

gradle/release.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,10 @@ jreleaser {
4747
active = 'RELEASE'
4848
status = 'Released version {{tagName}} of SDKMAN! {{releaseNotesUrl}}'
4949
}
50+
mastodon {
51+
active = 'RELEASE'
52+
status = 'Released version {{tagName}} of SDKMAN! {{releaseNotesUrl}}'
53+
host = 'https://fosstodon.org'
54+
}
5055
}
5156
}

0 commit comments

Comments
 (0)