mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-06-21 01:15:42 +02:00
global-functions: $ScriptInstallUpdate: also show commit info
This commit is contained in:
parent
75633872aa
commit
2c92c78b46
1 changed files with 2 additions and 1 deletions
|
@ -1108,6 +1108,7 @@
|
|||
:local NewComment [ :tostr $2 ];
|
||||
|
||||
:global CommitId;
|
||||
:global CommitInfo;
|
||||
:global ExpectedConfigVersion;
|
||||
:global Identity;
|
||||
:global IDonate;
|
||||
|
@ -1256,7 +1257,7 @@
|
|||
}
|
||||
|
||||
: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={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue