This commit is contained in:
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user