From bb33df53d3cdd56b69f22a1820a967e07d8d87fe Mon Sep 17 00:00:00 2001 From: Francesco Guardiani Date: Tue, 29 Sep 2020 12:12:22 +0200 Subject: [PATCH] Fix search and replace and remove pom backups (#245) Signed-off-by: Francesco Guardiani --- .github/workflows/bump.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump.yaml b/.github/workflows/bump.yaml index 8b7c5524..3636cb5b 100644 --- a/.github/workflows/bump.yaml +++ b/.github/workflows/bump.yaml @@ -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+[a-zA-Z0-9.-]*<\/version>+$NEW_VERSION+g" ***/*.md' + run: 'find . -type f -name "*.md" -exec sed -i -e "s+[a-zA-Z0-9.-]*<\/version>+$NEW_VERSION+g" {} +' - name: Create version bump PR uses: peter-evans/create-pull-request@v3 with: