Skip to content

Commit

Permalink
Extend release period no nightly testing to week previous Saturday (#…
Browse files Browse the repository at this point in the history
…1035)

Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard authored May 18, 2024
1 parent 013bc2d commit 99510b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipelines/build/common/trigger_beta_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def isDuringReleasePeriod() {
releaseTuesday = day17th.with(TemporalAdjusters.previous(DayOfWeek.TUESDAY))
}

// Release period no trigger from previous Saturday to following Sunday
// Release period no trigger from prior week previous Saturday to following Sunday
def days = ChronoUnit.DAYS.between(releaseTuesday, now)
if (days >= -3 && days <= 5) {
if (days >= -10 && days <= 5) {
releasePeriod = true
}
}
Expand Down

0 comments on commit 99510b4

Please sign in to comment.