Skip to content

Commit

Permalink
ci: sed replace action fail
Browse files Browse the repository at this point in the history
  • Loading branch information
manhinhang committed Apr 17, 2024
1 parent 5a5286d commit 2cf9fdf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/detect-new-ver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
- name: Update files with new version
if: steps.check-update.outputs.has_update == 'true'
run: |
sed 's/###IB_GATEWAY_VER###/${{steps.check-update.outputs.ib-gateway-ver}}/g;s/###IBC_VER###/${{steps.check-update.outputs.ibc-ver}}/g' README.template > README.update
sed 's/###IBC_VER###/${{steps.check-update.outputs.ibc-ver}}/g;s/###IBC_ASSET_URL###/${{steps.check-update.outputs.ibc-asset-url}}/g' Dockerfile.template > Dockerfile.update
sed -e 's/###IB_GATEWAY_VER###/${{steps.check-update.outputs.ib-gateway-ver}}/g' -e 's/###IBC_VER###/${{steps.check-update.outputs.ibc-ver}}/g' README.template > README.update
sed -e 's/###IBC_VER###/${{steps.check-update.outputs.ibc-ver}}/g' -e 's,###IBC_ASSET_URL###,${{steps.check-update.outputs.ibc-asset-url}},g' Dockerfile.template > Dockerfile.update
- name: Create PR
if: ${{ steps.check-update.outputs.has_update == 'true' }}
env:
Expand All @@ -70,4 +70,3 @@ jobs:
git push --set-upstream origin "$branch"
gh pr create --base develop --fill
sed "s/###IB_GATEWAY_VER###/10.19.2l/g;s/###IBC_VER###/3.18.0/g" README.template > README.update

0 comments on commit 2cf9fdf

Please sign in to comment.