Skip to content

Commit 49e150f

Browse files
committed
add git tag
1 parent 29543a1 commit 49e150f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release-publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,10 @@ jobs:
6767
CENTRAL_TOKEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
6868
CENTRAL_TOKEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
6969
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
70+
71+
- name: Create git tag
72+
run: |
73+
git config user.name "github-actions[bot]"
74+
git config user.email "github-actions[bot]@users.noreply.github.com"
75+
git tag -a "v${{ github.event.inputs.version }}" -m "Release version ${{ github.event.inputs.version }}"
76+
git push origin "v${{ github.event.inputs.version }}"

0 commit comments

Comments
 (0)