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