diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index c2f3346..6bed382 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -29,6 +29,7 @@ jobs: maven-gpg-passphrase: ${{ secrets.MAVEN_CENTRAL_GPG_SIGNING_KEY_PASSPHRASE }} maven-auto-release-after-close: true github-token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.event.release.target_commitish || github.ref_name }} id: release - if: github.event.release name: Attach artifacts to GitHub Release (Release only)