Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add debug logging for release detection #369

Merged
merged 2 commits into from Oct 11, 2021

Conversation

rhcarvalho
Copy link
Contributor

This enables anyone to understand better how the SDK decided to report a
given Release value.

Also:

  • Simplify code to use exec.Cmd.Output instead of exec.Cmd.Run with a
    manually created bytes.Buffer
  • Remove check of commit hash length returned from Git -- we can use any
    length for Release.

This enables anyone to understand better how the SDK decided to report a
given Release value.

Also:
- Simplify code to use exec.Cmd.Output instead of exec.Cmd.Run with a
  manually created bytes.Buffer
- Remove check of commit hash length returned from Git -- we can use any
  length for Release.
kamilogorek
kamilogorek previously approved these changes Jul 19, 2021
AbhiPrasad
AbhiPrasad previously approved these changes Jul 19, 2021
util.go Outdated Show resolved Hide resolved
util.go Outdated Show resolved Hide resolved
Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>
@rhcarvalho rhcarvalho merged commit 64ad662 into master Oct 11, 2021
@rhcarvalho rhcarvalho deleted the rhcarvalho/release-debug-log branch October 11, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants