Skip to content

Commit

Permalink
fixup! updater-ng: Staged updates
Browse files Browse the repository at this point in the history
  • Loading branch information
miska committed Sep 13, 2023
1 parent c5b52a5 commit 4e93c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion updater/updater-ng/files/turris.lua
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ if mode == "branch" then
if not release_date then
release_date = 0
end
local serial = tonumber(get_turris_serial(),16) or 0
-- Use only last 8 digits and discard the first 8 as that is the batch number anyway
local serial = tonumber(string.sub(get_turris_serial(),9,16), 16) or 0
-- `update_go_time` is time when the release will happen
-- It needs to be spread evenly and randomly between routers during `release_spread` days
--
Expand Down

0 comments on commit 4e93c08

Please sign in to comment.