diff --git a/changelog/20294.txt b/changelog/20294.txt new file mode 100644 index 000000000..92f7c2918 --- /dev/null +++ b/changelog/20294.txt @@ -0,0 +1,3 @@ +```release-note:improvement +Add debug symbols back to builds to fix Dynatrace support +``` diff --git a/scripts/ci-helper.sh b/scripts/ci-helper.sh index 6c0eb62f5..e4a52bb36 100755 --- a/scripts/ci-helper.sh +++ b/scripts/ci-helper.sh @@ -159,9 +159,10 @@ function build() { # Build our ldflags msg="--> Building Vault v$version, revision $revision, built $build_date" - # Strip the symbol and dwarf information by default + # Keep the symbol and dwarf information by default + # TODO: maybe add REMOVE_SYMBOLS? if [ -n "$KEEP_SYMBOLS" ]; then - ldflags="" + ldflags="-s -w " else ldflags="-s -w " fi