Fix version extraction

This commit is contained in:
Thomas Farstrike
2026-01-24 23:37:59 +01:00
parent f772fc4b80
commit ffdabf1342
3 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ jobs:
- name: Extract OS version
id: version
run: |
OS_VERSION=$(grep CURRENT_OS_VERSION internal_filesystem/lib/mpos/info.py | cut -d "=" -f 2 | tr -d " " | tr -d '"')
OS_VERSION=$(grep "release = " internal_filesystem/lib/mpos/build_info.py | cut -d "=" -f 2 | cut -d "#" -f 1 | tr -d " " | tr -d '"')
echo "OS_VERSION=$OS_VERSION" >> $GITHUB_OUTPUT
echo "Extracted version: $OS_VERSION"