Replace ${revision} with real version as Maven
The CI pipeline should take care of this.
This commit is contained in:
24
.github/workflows/release.yml
vendored
24
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user