Replace ${revision} with real version as Maven

The CI pipeline should take care of this.
This commit is contained in:
Nanne Baars
2021-03-30 08:04:14 +02:00
parent 1cd115ace5
commit efe4a87556
37 changed files with 60 additions and 47 deletions

View File

@@ -97,3 +97,27 @@ jobs:
- name: "Image digest"
run: echo ${{ steps.docker_build.outputs.digest }}
new_version:
name: Update development version
needs: [ release ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
run: |
git checkout develop
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
architecture: x64
- name: Set version to next snapshot
run: |
mvn build-helper:parse-version versions:set -DnewVersion=\${parsedVersion.majorVersion}.\${parsedVersion.minorVersion}.\${parsedVersion.nextIncrementalVersion}-SNAPSHOT versions:commit
- name: Commit pom.xml
uses: actions/checkout@v2
run: |
find . -name 'pom.xml' | xargs git add
git commit -m "Updating to the new development version"
git push origin develop