Skip to content

Commit

Permalink
Add symbols back to the build to fix Dynatrace support (hashicorp#20294)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Swenson authored Apr 21, 2023
1 parent 7baf241 commit 33cd7f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions changelog/20294.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
Add debug symbols back to builds to fix Dynatrace support
```
5 changes: 3 additions & 2 deletions scripts/ci-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33cd7f4

Please sign in to comment.