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 99a43d4 commit 8a4c6a9
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/test-assistant-api-rest-change-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,18 @@ jobs:
# Initialize the starting version and date
initial_year=2024
initial_month=6 # June
versions_to_calculate=12
# Assuming the script is being run in a year >= 2024
current_year=$(date +%Y) # Get the current year
# Calculate additional versions based on the year difference from 2024, inclusive
additional_versions=$(( (current_year - 2024 + 2) * 12 ))
# Now, set the versions_to_calculate to this value
versions_to_calculate=$additional_versions
# Output the value of versions_to_calculate
echo "Versions to calculate: $versions_to_calculate"
# Declare associative array
declare -A MILESTONE_DATES_TEST
Expand Down

0 comments on commit 8a4c6a9

Please sign in to comment.