Skip to content

Commit 65f1c94

Browse files
committed
Update release configuration
1 parent c159aac commit 65f1c94

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "Release commit already exists, skipping version setting"
4343
elif [ "$CURRENT_VERSION" != "${{ github.event.inputs.version }}" ]; then
4444
echo "Setting version to ${{ github.event.inputs.version }}"
45-
mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${{ github.event.inputs.version }}
45+
./mvnw -ntp -B versions:set -DgenerateBackupPoms=false -DnewVersion=${{ github.event.inputs.version }}
4646
git add pom.xml "**/pom.xml"
4747
git commit -m "Release version ${{ github.event.inputs.version }}"
4848
git push origin main
@@ -61,6 +61,10 @@ jobs:
6161
JRELEASER_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
6262
JRELEASER_GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
6363
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.GPG_PUBLIC_KEY }}
64+
JRELEASER_MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
65+
JRELEASER_BLUESKY_HOST: ${{ secrets.BLUESKY_HOST }}
66+
JRELEASER_BLUESKY_HANDLE: ${{ secrets.BLUESKY_HANDLE }}
67+
JRELEASER_BLUESKY_PASSWORD: ${{ secrets.BLUESKY_PASSWORD }}
6468
run: ./mvnw -ntp -B -N -Ppublication jreleaser:full-release
6569

6670
- name: Release log

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ application while protecting against XSS.
366366
<release>
367367
<github>
368368
<tagName>release-{{projectVersion}}</tagName>
369-
<previousTagName>release-20240325.1</previousTagName>
369+
<previousTagName>release-20260101.1</previousTagName>
370370
<releaseName>Release {{projectVersion}}</releaseName>
371371
<changelog>
372372
<formatted>ALWAYS</formatted>
@@ -407,6 +407,7 @@ application while protecting against XSS.
407407
</mastodon>
408408
<bluesky>
409409
<active>RELEASE</active>
410+
<host>https://mastodon.social</host>
410411
<status>🚀 Java HTML Sanitizer {{projectVersion}} has been released! {{releaseNotesUrl}}</status>
411412
</bluesky>
412413
</announce>

0 commit comments

Comments
 (0)