Skip to content

Commit

Permalink
👷 update readme post release
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias-Pe committed Dec 2, 2024
1 parent aa1f375 commit 288c5b7
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}

- name: Setup git user
uses: fregante/setup-git-user@v2

- name: Set up JDK 21 and OSSRH auth / GPG signing
uses: actions/setup-java@v4
with:
Expand All @@ -33,6 +35,7 @@ jobs:
server-password: CENTRAL_PASSWORD
gpg-private-key: ${{ secrets.gpg_private_key }}
gpg-passphrase: SIGN_KEY_PASS

- name: Perform maven release
run: >
mvn -B -ntp release:prepare release:perform \
Expand All @@ -44,6 +47,7 @@ jobs:
SIGN_KEY_PASS: ${{ secrets.gpg_passphrase }}
CENTRAL_USERNAME: ${{ secrets.sonatype_username }}
CENTRAL_PASSWORD: ${{ secrets.sonatype_password }}

- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
Expand All @@ -53,3 +57,18 @@ jobs:
prerelease: false
generate_release_notes: true

- name: Update files
uses: MathieuSoysal/[email protected]
with:
files: README.md # List of files to update
prefix: "<version>" # Prefix before the version, default is: ""
with-checkout: false # If you don't want to checkout the repo, default is: true

- name: Push changes
uses: EndBug/add-and-commit@v9
with:
committer_name: GitHub Actions
committer_email: [email protected]
add: .
message: ':bookmark: (readme) new maven release'

0 comments on commit 288c5b7

Please sign in to comment.