File tree Expand file tree Collapse file tree
actions/spring-website-project-version-update Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 MAJOR_MINOR=$(echo "$NEW_VERSION" | cut -d '.' -f1-2)
3939
4040 # Fetch OSS support end date
41- OSS_SUPPORT_END_DATE=$(curl "${CURL_OPTS[@]}" "$BASE_URL/generations/${MAJOR_MINOR}.x" \
42- | jq -r '.ossSupportEndDate // empty')
41+ OSS_SUPPORT_END_DATE=$(curl "${CURL_OPTS[@]}" "$BASE_URL/generations/${MAJOR_MINOR}.x" | jq -r '.ossSupportEndDate // empty')
4342
4443 VERSIONS_TO_UPDATE=$NEW_VERSION
4544
Original file line number Diff line number Diff line change 8181
8282 - name : Changelog Config File
8383 run : |
84- repositoryTeam=$(gh api repos/$GITHUB_REPOSITORY/collaborators --jq 'map(select(.role_name == "admin") | .login) | tostring')
85- repositoryTeam=$(sed 's/"//g' <<< ${repositoryTeam:1:-1})
86- repositoryVisibility=$(gh repo view --json visibility --jq .[])
87- repositoryVisibility=$([[ $repositoryVisibility = 'PUBLIC' ]] && echo 'true' || echo 'false')
84+ repositoryTeam=$(gh api repos/$GITHUB_REPOSITORY/collaborators --jq 'map(select(.role_name == "admin") | .login) | join(",")')
85+ repositoryVisibility=$(gh repo view --json visibility --jq 'if .visibility == "PUBLIC" then "true" else "false" end')
8886
8987 echo "changelog.contributors.exclude.names=$repositoryTeam" > changelog.properties
9088 echo "changelog.issues.generate-links=$repositoryVisibility" >> changelog.properties
You can’t perform that action at this time.
0 commit comments