Skip to content

Commit

Permalink
Update test-assistant-api-rest-change-tracker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nigeljamesstevenson authored Apr 8, 2024
1 parent d7269b0 commit e121fa8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test-assistant-api-rest-change-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ jobs:
month=$2
# Check OS and adjust `date` command accordingly
if [[ "$OSTYPE" == "darwin"* ]]; then
echo "macOS"
# macOS version (BSD date)
# Find the first Tuesday of the month
first_of_month="$year-$month-01"
Expand All @@ -89,7 +88,6 @@ jobs:
# Calculate the second Tuesday by adding 7 days to the first Tuesday
second_tuesday=$(date -j -v+7d -f "%Y-%m-%d" "$first_tuesday" "+%Y-%m-%d")
else
echo "Linux"
# Linux version (GNU date)
first_of_month="$year-$month-01"
day_of_week=$(date -d "$first_of_month" "+%u")
Expand Down

0 comments on commit e121fa8

Please sign in to comment.