Skip to content

Commit

Permalink
Change working directory before sed
Browse files Browse the repository at this point in the history
  • Loading branch information
rikroe authored Dec 21, 2021
1 parent c406df7 commit 7a060b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/reset_to_ha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Copy component from HA into workspace
run: |
cd ${{ github.workspace }}/custom_components/bmw_connected_drive
sed -i "$(($(wc -l < manifest.json) - 1))i\\ \"version\": \"${{ env.HA_VERSION }}-custom\",\\" manifest.json
- name: Create PR with new changes
Expand Down

0 comments on commit 7a060b0

Please sign in to comment.