From b63b6a96aad478a09eaa1256c9c69d4de5ea11cf Mon Sep 17 00:00:00 2001 From: iranl Date: Thu, 11 Sep 2025 22:40:15 +0200 Subject: [PATCH] Fix release action --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b80fd66..5e0ed88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -162,10 +162,10 @@ jobs: cp -vf master/resources/ota_manifest.py resources/ota_manifest.py cp -vf master/resources/old_manifest.py resources/old_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 "{}")' + echo release/*/nuki_hub_*.bin | tr ' ' '\n' | xargs -n1 -I{} bash -c 'cp {} ota/old/${{ steps.get_version.outputs.VERSION }}.$(basename "{}")' python3 resources/ota_manifest.py release $Version python3 resources/ota_manifest.py beta none - python3 resources/old_manifest.py $Version + python3 resources/old_manifest.py ${{ steps.get_version.outputs.VERSION }} find * -not -path "ota*" -delete rm -rf ota/beta/*.bin rm -rf ota/beta/*.elf