Skip to content

Commit

Permalink
fix: update README if new version detected
Browse files Browse the repository at this point in the history
  • Loading branch information
manhinhang authored Aug 15, 2024
1 parent a56c983 commit 0d243fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/detect-new-ver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Update files with new version
if: steps.check-update.outputs.has_update == 'true'
run: |
sed -i -E -e 's/(IB Gateway\]*\()([^)]+)(\))/\1${{steps.check-update.outputs.ib-gateway-ver}}\3/' -e 's/(IBC.*\()([^)]+)(\))/\1${{steps.check-update.outputs.ibc-ver}}\3/' README.md
sed -e 's/###IB_GATEWAY_VER###/${{steps.check-update.outputs.ib-gateway-ver}}/' -e 's/###IBC_VER###/${{steps.check-update.outputs.ibc-ver}}/' README.template > README.md
- name: Create PR
if: ${{ steps.check-update.outputs.has_update == 'true' }}
env:
Expand Down

0 comments on commit 0d243fb

Please sign in to comment.