parent
2f4cc2de8b
commit
9fc21968a5
4
.github/workflows/ci.yaml
vendored
4
.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: |
|
||||
@ -57,6 +56,7 @@ jobs:
|
||||
run: |
|
||||
git config user.email "ci@git.arindy.de"
|
||||
git config user.name "gitea"
|
||||
./mvnw -B --no-transfer-progress clean validate -Pnew-snapshot
|
||||
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 }}"
|
||||
|
6
pom.xml
6
pom.xml
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.arindy</groupId>
|
||||
<artifactId>dice-tower</artifactId>
|
||||
<version>1.0.1</version>
|
||||
<version>1.0.1-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<compiler-plugin.version>3.13.0</compiler-plugin.version>
|
||||
@ -275,7 +275,7 @@
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>release</id>
|
||||
<id>new-snapshot</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
@ -303,7 +303,7 @@
|
||||
<goal>set</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<newVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}</newVersion>
|
||||
<newVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}-SNAPSHOT</newVersion>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
|
Loading…
x
Reference in New Issue
Block a user