global-functions: $ScriptInstallUpdate: also show commit info

This commit is contained in:
Christian Hesse 2025-02-17 11:47:26 +01:00
parent 75633872aa
commit 2c92c78b46

View file

@ -1108,6 +1108,7 @@
:local NewComment [ :tostr $2 ]; :local NewComment [ :tostr $2 ];
:global CommitId; :global CommitId;
:global CommitInfo;
:global ExpectedConfigVersion; :global ExpectedConfigVersion;
:global Identity; :global Identity;
:global IDonate; :global IDonate;
@ -1256,7 +1257,7 @@
} }
:if ($CommitId != "unknown" && $CommitIdBefore != $CommitId) do={ :if ($CommitId != "unknown" && $CommitIdBefore != $CommitId) do={
$LogPrint info $0 ("Updated to commit id: " . [ :pick $CommitId 0 8 ]); $LogPrint info $0 ("Updated to commit: " . $CommitInfo . "/" . [ :pick $CommitId 0 8 ]);
} }
:if ($ExpectedConfigVersionBefore > $ExpectedConfigVersion) do={ :if ($ExpectedConfigVersionBefore > $ExpectedConfigVersion) do={