notify about freeze of routeros-v7 branch

This commit is contained in:
Christian Hesse 2022-05-11 18:39:44 +02:00
parent df547b87a4
commit bbc6728dad
3 changed files with 6 additions and 2 deletions

View file

@ -8,7 +8,7 @@
# Make sure all configuration properties are up to date and this
# value is in sync with value in script 'global-functions'!
:global GlobalConfigVersion 79;
:global GlobalConfigVersion 80;
# This is used for DNS and backup file.
:global Domain "example.com";

View file

@ -88,6 +88,7 @@
77="Introduced new script 'firmware-upgrade-reboot'. Handle with care!";
78="New documentation is online for notifications via Telegram & Matrix, variable inspection, ip address calculation and running scripts once.";
79="Introduced new script 'backup-partition' to save configuration to fallback partition.";
80="The 'routeros-v7' branch will now freeze, and vanish any time in future. Drop '\$ScriptUpdatesUrlSuffix' from 'global-config-overlay' to move back to 'main' branch!";
};
# Migration steps to be applied on script updates

View file

@ -10,7 +10,7 @@
:local 0 "global-functions";
# expected configuration version
:global ExpectedConfigVersion 79;
:global ExpectedConfigVersion 80;
# global variables not to be changed by user
:global GlobalFunctionsReady false;
@ -1282,5 +1282,8 @@
# check for required RouterOS version
$RequiredRouterOS $0 "7.1" true;
# this branch is frozen and will vanish!
$LogPrintExit2 warning $0 ("The 'routeros-v7' branch is frozen and will vanish. Move to 'main' branch!") false;
# signal we are ready
:set GlobalFunctionsReady true;