fix SNAPSHOTS
All checks were successful
CI / deploy (push) Successful in 5m5s

This commit is contained in:
2025-02-11 22:47:49 +01:00
parent 2f4cc2de8b
commit f465e1c101
2 changed files with 7 additions and 5 deletions

View File

@@ -23,8 +23,7 @@ jobs:
- name: new Version
if: github.ref_name == 'main'
run: |
./mvnw -B --no-transfer-progress clean validate -Prelease
./mvnw -B --no-transfer-progress versions:commit -Djgitver.skip=true
./mvnw -B --no-transfer-progress versions:set -DremoveSnapshot
- name: Build Runner
run: |
@@ -59,6 +58,9 @@ jobs:
git config user.name "gitea"
git add ./pom.xml
git commit -m "[no ci] release ${{ steps.version.outputs.VERSION }}"
./mvnw -B --no-transfer-progress clean validate -Pnew-snapshot
git add ./pom.xml
git commit -m "[no ci] prepare new Version"
git tag ${{ steps.version.outputs.VERSION }} -m "release ${{ steps.version.outputs.VERSION }}"
git push origin main
git push origin ${{ steps.version.outputs.VERSION }}