Skip to content

Commit 98e95e2

Browse files
Update get_list_files_to_delete.sh
1 parent 05ae719 commit 98e95e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/get_list_files_to_delete.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ add_changelog_files_to_delete() {
1212

1313
for file in "${changelog_files[@]}"; do
1414
filename=$(basename "$file")
15+
echo "CHANGELOG - upcoming_version_item: ${upcoming_version_item}"
1516
if [[ "${filename}" == *"${upcoming_version_item}"* ]]; then
1617
changelog_files_to_delete+=("${filename}")
1718
fi
@@ -48,7 +49,7 @@ for upcoming_version_item in "${upcoming_array[@]}"; do
4849
# Check if the exact upcoming_version_item string (e.g., "2023-01-01.upcoming"),
4950
# when quoted (e.g., "\"2023-01-01.upcoming\""), is NOT found in the api_versions string.
5051
# The condition is true if grep does not find the string (exit status 1).
51-
echo "upcoming_version_item: $upcoming_version_item"
52+
echo "OPENAPI - upcoming_version_item: $upcoming_version_item"
5253
if ! echo "${api_versions}" | grep -qF "\"${upcoming_version_item}\""; then
5354
# If upcoming_version_item is NOT found in api_versions,
5455
# add its corresponding OpenAPI file name (e.g., openapi-2023-01-01.upcoming.json)

0 commit comments

Comments
 (0)