Skip to content

Commit 29d3956

Browse files
committed
ssb: Calculate HEAD time and readback times
1 parent 5d45fcf commit 29d3956

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/should-skip-build

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ def git_log_between(source, target)
127127
end
128128

129129
def anything_changed_yesterday?
130+
head_time = Commit.HEAD.time
131+
readback_time = head_time - 26.hours
130132
yesterdays_changes = changes_after('26 hours ago').unique_lines
131133

132134
yesterdays_changes.count > 0

0 commit comments

Comments
 (0)