Skip to content

Commit

Permalink
Adjust the version in manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Jun 29, 2024
1 parent 305579d commit a0ebade
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
else
echo "Skipping sed command because the branch is main."
fi
- name: Log Changed YAML file
- name: 🧪 Display changed YAML file
run: cat ${{ matrix.firmware }}/${{ matrix.device }}.yaml
- name: 🔨 Build firmware
uses: esphome/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run-id: ${{ needs.build-firmware.outputs.run-id }}
- name: 🔨 Generate device manifest.json
run: |
version=$(cat files/*/version | sort -V | tail -n 1)
version=${{ github.event.release.tag_name || '4.1.0' }}
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
Expand Down

0 comments on commit a0ebade

Please sign in to comment.