fix crash
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-02-09 15:55:19 +11:00
parent 6dcbb9caef
commit b70dfcf5be
8 changed files with 162 additions and 73 deletions

View File

@@ -8,7 +8,7 @@ package=./
commit=$(git rev-parse HEAD)
buildtime=$(date +%Y-%m-%dT%T%z)
#Extract the version from yml
package_version=$(grep 'version:' "$package_name.yml" | awk '{print $2}' | tr -d '"' | sed 's/^v//')
package_version=$(grep 'version:' "$package_name-service.yml" | awk '{print $2}' | tr -d '"' | sed 's/^v//')
host_os=$(uname -s | tr '[:upper:]' '[:lower:]')
host_arch=$(uname -m)