Skip to content

Commit 478fb75

Browse files
chore(ci): set release env variable for auto closing issue
1 parent 7e6a23c commit 478fb75

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
server-password: MAVEN_PASSWORD
2020
gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }} # Value of the GPG private key to import
2121
gpg-passphrase: GPG_PASSPHRASE # env variable for GPG private key passphrase
22+
- name: Set release notes tag
23+
run: |
24+
RELEASE_TAG_VERSION=${{ github.event.release.tag_name }}
25+
echo "RELEASE_TAG_VERSION=${RELEASE_TAG_VERSION:1}" >> $GITHUB_ENV
2226
- name: Publish package
2327
run: mvn -P sign,build-without-spotbugs clean deploy -DskipTests
2428
env:

0 commit comments

Comments
 (0)