Skip to content

Commit

Permalink
Get version from the right file
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn committed Nov 4, 2024
1 parent c4e11fc commit 11130b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/validate_esphome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,9 @@ jobs:
- name: Extract Version Number
id: extract_version
run: |
VERSION=$(yq eval '.substitutions.version' esphome/nspanel_esphome_core_versioning.yaml)
VERSION=$(yq eval '.substitutions.version' esphome/nspanel_esphome_core_version.yaml)
if [ -z "$VERSION" ]; then
echo "Error: No version found in esphome/nspanel_esphome_core_versioning.yaml"
echo "Error: No version found in esphome/nspanel_esphome_core_version.yaml"
exit 1
fi
echo "Extracted Version: ${VERSION}"
Expand Down

0 comments on commit 11130b6

Please sign in to comment.