diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 1ad0e2d..c0b2de1 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -20,10 +20,14 @@ jobs:
distribution: 'zulu'
java-version: '21'
- - name: Build Runner
+ - 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
+
+ - name: Build Runner
+ run: |
./mvnw -B --no-transfer-progress clean verify -Pnative -Dquarkus.native.remote-container-build=true -Djgitver.skip=true
- name: Add coverage to PR
@@ -37,7 +41,8 @@ jobs:
title: ${{ env.REPO }} Coverage
- id: version
- run: echo "version=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> "GITHUB_OUTPUT"
+ name: Version
+ run: echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> ${GITHUB_OUTPUT}
- name: Build Container
if: github.ref_name == 'main'
@@ -50,5 +55,10 @@ jobs:
- name: create tag
if: github.ref_name == 'main'
run: |
- git tag ${{ steps.version.outputs.version }} -m "release ${{ steps.version.outputs.version }}"
- git push origin ${{ steps.version.outputs.version }}
+ git config user.email "ci@git.arindy.de"
+ git config user.name "gitea"
+ git add ./pom.xml
+ git commit -m "[no ci] release ${{ steps.version.outputs.VERSION }}"
+ git tag ${{ steps.version.outputs.VERSION }} -m "release ${{ steps.version.outputs.VERSION }}"
+ git push origin main
+ git push origin ${{ steps.version.outputs.VERSION }}
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
deleted file mode 100644
index b909513..0000000
--- a/.mvn/extensions.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- fr.brouillard.oss
- jgitver-maven-plugin
- 1.9.0
-
-
diff --git a/.mvn/jgitver.config.xml b/.mvn/jgitver.config.xml
deleted file mode 100644
index f3a988f..0000000
--- a/.mvn/jgitver.config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
- MAX
- true
- true
- false
- true
- 8
- main
- true
-
diff --git a/pom.xml b/pom.xml
index 633dbe8..2f209de 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
4.0.0
de.arindy
dice-tower
- 0
+ 1.0.0-SNAPSHOT
3.13.0
@@ -284,17 +284,10 @@
3.0.0
- regex-property
+ next-version
- regex-property
+ parse-version
-
- tag.version
- ${jgitver.calculated_version}
- -SNAPSHOT
-
- true
-
@@ -310,7 +303,7 @@
set
- ${tag.version}
+ ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}