script-updates: add option to ignore global-config changes

This commit is contained in:
Christian Hesse 2019-04-02 08:48:35 +02:00
parent 594aef2aab
commit 7b1c275cc2
4 changed files with 6 additions and 3 deletions

View file

@ -11,6 +11,7 @@
:global ScriptUpdatesBaseUrl;
:global ScriptUpdatesUrlSuffix;
:global ScriptUpdatesIgnore;
:global ScriptUpdatesConfigChangesIgnore;
:global SendNotification;
@ -77,7 +78,7 @@
}
}
:if ($GlobalConfigVersion < $ExpectedConfigVersion) do={
:if ($ScriptUpdatesConfigChangesIgnore!=true && $GlobalConfigVersion < $ExpectedConfigVersion) do={
:global GlobalConfigChanges;
:local ChangeLogCode;
:local Changes;