Skip to content

Commit bab1ed3

Browse files
Update release-reminder.yml
1 parent a8a2b9e commit bab1ed3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release-reminder.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
last_day_cutoff=$(expr $(date -d "-$(date +%d) days month" +%d) - 6)
2424
# Check if it's the second or last Thursday of the month
2525
# second thursday of the month will always be between day 8 and 14 (inclusive)
26-
if [[ "$day_of_month" -ge "8" && "$day_of_month" -le "14" ]]; then
26+
if [ "$day_of_month" -ge "8" && "$day_of_month" -le "14" ]; then
2727
echo "It's the second Thursday of the month"
2828
echo "bool=true" >> "${GITHUB_OUTPUT}"
2929
# last thursday of the month will always be within 6 days of the last day of the month
3030
# $last_day_cutoff=(# days in this month - 6)
31-
elif [[ "$day_of_month" -ge "$last_day_cutoff" ]]; then
31+
elif [ "$day_of_month" -ge "$last_day_cutoff" ]; then
3232
echo "It's the last Thursday of the month"
3333
echo "bool=true" >> "${GITHUB_OUTPUT}"
3434
else

0 commit comments

Comments
 (0)