From 434916fe114791c60ef3a5f772806eea65217790 Mon Sep 17 00:00:00 2001 From: iranl Date: Thu, 11 Sep 2025 21:22:01 +0200 Subject: [PATCH] Fix release action --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 134fd22..59e6152 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -161,16 +161,16 @@ jobs: cp -vf release/*/nuki_hub_*.elf ota/ cp -vf master/resources/ota_manifest.py resources/ota_manifest.py cp -vf master/src/Config.h src/Config.h + echo release/*/nuki_hub_*.bin | tr ' ' '\n' | xargs -n1 -I{} bash -c 'cp {} ota/old/$VERSION.$(basename "{}")' python3 resources/ota_manifest.py release $Version python3 resources/ota_manifest.py beta none + python3 resources/old_manifest.py $Version find * -not -path "ota*" -delete rm -rf ota/beta/*.bin rm -rf ota/beta/*.elf rm -rf .github .gitignore .gitmodules touch ota/beta/empty touch ota/master/empty - echo release/*/nuki_hub_*.bin | tr ' ' '\n' | xargs -n1 -I{} bash -c 'cp {} ota/old/$VERSION.$(basename "{}")' - python3 resources/old_manifest.py $Version - name: Commit binaries to binary uses: stefanzweifel/git-auto-commit-action@v5 with: @@ -204,4 +204,4 @@ jobs: skip_dirty_check: true skip_fetch: true skip_checkout: true - disable_globbing: true \ No newline at end of file + disable_globbing: true