Skip to content

Commit 464b38f

Browse files
committed
debug
1 parent 7d3bde3 commit 464b38f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

scripts/gen-ssdlc-report.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@ VERSION="$2"
1313

1414
export DATE="${release_date}"
1515

16+
# Debug logging
17+
echo "PWD: $(pwd)"
18+
echo "Listing templates directory:"
19+
ls -l templates || echo "templates directory not found"
20+
echo "Listing cfn-resources directory:"
21+
ls -l cfn-resources || echo "cfn-resources directory not found"
22+
1623
if [ -z "${AUTHOR:-}" ]; then
1724
AUTHOR=$(git config user.name)
1825
fi
26+
echo "AUTHOR: ${AUTHOR}"
1927

2028
if [ "${AUGMENTED_REPORT:-false}" = "true" ]; then
2129
target_dir="."
@@ -31,6 +39,9 @@ else # If not augmented, generate the standard report
3139
- https://github.com/mongodb/mongodbatlas-cloudformation-resources/cfn-resources/${RESOURCE}/compliance/v${VERSION}/sbom.json"
3240
# Ensure terraform-provider-mongodbatlas version directory exists
3341
mkdir -p "${target_dir}"
42+
echo "target_dir: ${target_dir}"
43+
echo "file_name: ${file_name}"
44+
echo "SBOM_TEXT: ${SBOM_TEXT}"
3445
fi
3546

3647
export AUTHOR

0 commit comments

Comments
 (0)