Add push new version after release
This commit is contained in:
parent
a87fce8bb5
commit
ac7c937753
12
.github/workflows/deploy-maven.yml
vendored
12
.github/workflows/deploy-maven.yml
vendored
@ -30,4 +30,14 @@ jobs:
|
||||
--no-transfer-progress \
|
||||
--batch-mode \
|
||||
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_KEY_PASSWORD }} \
|
||||
clean deploy
|
||||
clean deploy
|
||||
- id: push new version
|
||||
name: push new version
|
||||
run: |
|
||||
git clone https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{github.repository}}.git
|
||||
cd keycloak-mail-whitelisting
|
||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
mvn -B versions:set -DnextSnapshot -DgenerateBackupPoms=false
|
||||
git commit -a -m"Prepare new version"
|
||||
git push
|
Loading…
Reference in New Issue
Block a user