From 7a060b05640019dfbb5e1a2c0cd460ae712e0710 Mon Sep 17 00:00:00 2001 From: rikroe <42204099+rikroe@users.noreply.github.com> Date: Tue, 21 Dec 2021 23:00:55 +0100 Subject: [PATCH] Change working directory before `sed` --- .github/workflows/reset_to_ha.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/reset_to_ha.yml b/.github/workflows/reset_to_ha.yml index 3ff1e13..add7fe1 100644 --- a/.github/workflows/reset_to_ha.yml +++ b/.github/workflows/reset_to_ha.yml @@ -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