diff --git a/.github/workflows/deploy-firmware.yaml b/.github/workflows/deploy-firmware.yaml index 12e4f9ab..aeeceb84 100644 --- a/.github/workflows/deploy-firmware.yaml +++ b/.github/workflows/deploy-firmware.yaml @@ -40,7 +40,7 @@ jobs: path: files - name: 🔨 Generate device manifest.json run: | - version=$(cat project_version) + version=$(cat files/*/project_version | sort -V | tail -n 1) jq -s --arg version "$version" '{"name": "${{ matrix.name }}", "version": $version, "home_assistant_domain": "esphome", "builds":.}' files/*/manifest.json > files/manifest.json - name: 🧪 Display structure of job run: ls -R