Fix search and replace and remove pom backups (#245)

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
This commit is contained in:
Francesco Guardiani 2020-09-29 12:12:22 +02:00 committed by GitHub
parent b30c1dc2ec
commit bb33df53d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -19,10 +19,10 @@ jobs:
with:
java-version: 8
- name: Bump version using Maven
run: 'mvn versions:set -DnewVersion=$NEW_VERSION'
run: 'mvn versions:set -DnewVersion=$NEW_VERSION -DgenerateBackupPoms=false -B'
- name: Bump version in docs
if: ${{ !endsWith(github.event.inputs.version, 'SNAPSHOT') }}
run: 'sed -i -e "s+<version>[a-zA-Z0-9.-]*<\/version>+<version>$NEW_VERSION</version>+g" ***/*.md'
run: 'find . -type f -name "*.md" -exec sed -i -e "s+<version>[a-zA-Z0-9.-]*<\/version>+<version>$NEW_VERSION</version>+g" {} +'
- name: Create version bump PR
uses: peter-evans/create-pull-request@v3
with: