From 811187e4d3fc3fa26c8c6a8549e075591b9b8a9a Mon Sep 17 00:00:00 2001 From: litinoveweedle <15144712+litinoveweedle@users.noreply.github.com> Date: Fri, 17 May 2024 23:17:46 +0200 Subject: [PATCH] Update release.yaml include codes in releases --- .github/workflows/release.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index e0c57d22..bf417f08 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,6 +21,11 @@ jobs: current="$(jq --raw-output .version manifest.json | sed 's/\./\\./g')" sed -i s/$current/${{ github.event.release.tag_name }}/ manifest.json + - name: "Copy codes" + working-directory: ./ + run: | + mv codes custom_components/smartir/codes + - name: "Zip component" run: | zip smartir.zip -r ./