Skip to content

Commit

Permalink
[ MOSIP-20021 ] updated release_changes.yml to update README.md badges
Browse files Browse the repository at this point in the history
  • Loading branch information
syed-salman-technoforte committed May 19, 2022
1 parent 95596e3 commit 463d495
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
echo "BRANCH_NAME=$(echo ${{ github.ref }} | sed -e 's,.*/\(.*\),\1,')" >> $GITHUB_ENV
echo "GPG_TTY=$(tty)" >> $GITHUB_ENV
- 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: 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"

Expand Down

0 comments on commit 463d495

Please sign in to comment.