Skip to content

Commit

Permalink
fix sdk_version too long.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerivec committed Oct 29, 2024
1 parent c9d2eb3 commit 53bc84a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,9 +123,7 @@ jobs:
options: --user root
strategy:
matrix:
manifest:
- manifests/sonoff/sonoff_zbdonglee_zigbee_router.yaml
# manifest: ${{ fromJson(needs.list-manifests.outputs.matrix) }}
manifest: ${{ fromJson(needs.list-manifests.outputs.matrix) }}
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion tools/build_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def main():
# Set software date code to day of build
f'(.endpointTypes[].clusters[].attributes[] | select(.name == "date code")).defaultValue = "{date_code}"',
# Set software build ID to SDK version
f'(.endpointTypes[].clusters[].attributes[] | select(.name == "sw build id")).defaultValue = "{sdk_version}"',
f'(.endpointTypes[].clusters[].attributes[] | select(.name == "sw build id")).defaultValue = "{sdk_version.split(":", 1)[1]}"',
# Set path
f'(.package[] | select(.type == "zcl-properties")).path = "{sdk}/app/zcl/zcl-zap.json"',
# Set path
Expand Down

0 comments on commit 53bc84a

Please sign in to comment.