Skip to content

Commit

Permalink
limit sed command to the beginning of the line
Browse files Browse the repository at this point in the history
  • Loading branch information
musketyr committed May 17, 2021
1 parent 2c07f59 commit 2af857d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/external-libraries-watcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
expression: ${{ matrix.library.xpath }}
- name: Upgrade ${{ matrix.library.name }} Number
run: |
sed -i 's/${{ matrix.library.property }}.*/${{ matrix.library.property }} = ${{ steps.xpath.outputs.result }}/' gradle.properties
sed -i 's/^${{ matrix.library.property }}.*/${{ matrix.library.property }} = ${{ steps.xpath.outputs.result }}/' gradle.properties
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
Expand Down

0 comments on commit 2af857d

Please sign in to comment.