SIGN IN SIGN UP

chore(releasing): Move where the `DEBUG` info is sensed during builds (#7924)

Moves where we include how debug information is injected into the binary
to `build.rs` rather than CI. This feels a bit safer in that it will
check even outside of CI and augment the version string accordingly.

A release build of vector looks like:

```
vector 0.15.0 (x86_64-apple-darwin)
```

That is, no debug info. A debug build of vector looks like:

```
vector 0.15.0 (x86_64-apple-darwin debug=full)
```

We currently just have a binary `debug` or nothing, which we could
switch back to here. I'm not really sure how often `debug` is set to `1`
to only include line info and if that is substantially different in
meaning than including full debug info.

Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
J
Jesse Szwedko committed
380db7308d57e964644e699539b5f8a28f36e1b7
Parent: be5bccc
Committed by GitHub <noreply@github.com> on 6/18/2021, 12:05:22 AM