From ebde23e85b9e0ddc466d181c5daabcf5ce08d6bf Mon Sep 17 00:00:00 2001 From: Rakshitha650 <76676196+Rakshitha650@users.noreply.github.com> Date: Wed, 30 Nov 2022 14:26:58 +0530 Subject: [PATCH] Update release_changes.yml --- .github/workflows/release_changes.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release_changes.yml b/.github/workflows/release_changes.yml index cc9c295..3b2f4a8 100644 --- a/.github/workflows/release_changes.yml +++ b/.github/workflows/release_changes.yml @@ -30,6 +30,11 @@ jobs: - 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" + - 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 + - name: Updating the Release URL in POM run: | cd .github/workflows