fix yml reference
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-09 13:47:04 +11:00
parent 5736dc6929
commit 68fcdb8625

View File

@@ -8,7 +8,7 @@ package=./
commit=$(git rev-parse HEAD) commit=$(git rev-parse HEAD)
buildtime=$(date +%Y-%m-%dT%T%z) buildtime=$(date +%Y-%m-%dT%T%z)
#Extract the version from yml #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_os=$(uname -s | tr '[:upper:]' '[:lower:]')
host_arch=$(uname -m) host_arch=$(uname -m)