Fix git hash

This commit is contained in:
Albrecht Lohofener
2024-11-08 22:46:16 +01:00
parent 2ed717fcdb
commit 34882119fa
@@ -91,6 +91,7 @@ jobs:
# uc-aom-packager allow only decimal numbers as version number for an unkonwn reason
# see https://github.com/weidmueller/uc-addon/blob/main/uc-manifest.schema-doc.md#version)
# So lets convert the git hash into a decimal value
echo "GIT_HASH=`git rev-parse --short HEAD`" >> $GITHUB_ENV
GIT_HASH_DECIMAL=$((16#$GIT_HASH))
# Create app version