chore: Extend BUILD_ID with a date

This commit is contained in:
Kyle Gospodnetich 2024-10-10 14:27:26 -07:00
parent 15b56bdb33
commit 99b504df71

View File

@ -62,7 +62,7 @@ sed -i "/^REDHAT_BUGZILLA_PRODUCT=/d; /^REDHAT_BUGZILLA_PRODUCT_VERSION=/d; /^RE
sed -i "s|^VERSION_CODENAME=.*|VERSION_CODENAME=\"$CODE_NAME\"|" /usr/lib/os-release
if [[ -n "${SHA_HEAD_SHORT:-}" ]]; then
echo "BUILD_ID=\"$SHA_HEAD_SHORT\"" >> /usr/lib/os-release
echo "BUILD_ID=\"$SHA_HEAD_SHORT (Built $(date +%m-%d-%Y))\"" >> /usr/lib/os-release
fi
# FIXME: Pretty name needs to have deck/KDE/GNOME/etc