From d23fab86932c37faa642881f9c33156e8e402ec2 Mon Sep 17 00:00:00 2001 From: Rakshitha650 <76676196+Rakshitha650@users.noreply.github.com> Date: Wed, 30 Nov 2022 17:38:35 +0530 Subject: [PATCH] [MOSIP-24301] updated the badge update in release_changes.yml --- .github/workflows/release_changes.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_changes.yml b/.github/workflows/release_changes.yml index 5d8e1a3..eefdd21 100644 --- a/.github/workflows/release_changes.yml +++ b/.github/workflows/release_changes.yml @@ -29,8 +29,8 @@ jobs: - name: update Branch name in badges run: | - sed -i 's/branch=.*)]/branch=${{ env.BRANCH_NAME }}\)]/g' README.md - sed -i 's/branch=.*\&/branch=${{ env.BRANCH_NAME }}\&/g' README.md + sed -i 's/branch=[^\&]*)]/branch=${{ env.BRANCH_NAME }}\)]/g' README.md + sed -i 's/branch=[^\&]*\&/branch=${{ env.BRANCH_NAME }}\&/g' README.md - name: Mannualy changing the pom versions run: find . -type f -name "*pom.xml" -print0 | xargs -0 sed -i "s/${{ github.event.inputs.snapshotTags }}/${{ github.event.inputs.releaseTags }}/g"