Skip to content

Commit

Permalink
Add Sentry to build
Browse files Browse the repository at this point in the history
  • Loading branch information
ipmb committed Jan 10, 2021
1 parent 7587dc3 commit 739d502
Show file tree
Hide file tree
Showing 5 changed files with 147 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
-
name: Upload Windows binary
uses: actions/upload-artifact@v2
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ builds:
- -X github.com/apppackio/apppack/version.Version={{ .Version }}
- -X github.com/apppackio/apppack/version.Commit={{ .ShortCommit }}
- -X github.com/apppackio/apppack/version.Environment=production
- -X github.com/apppackio/apppack/main.SentryDSN={{ .Env.SENTRY_DSN }}
archives:
- replacements:
darwin: Darwin
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ require (
github.com/creack/pty v1.1.11 // indirect
github.com/dustin/go-humanize v1.0.0
github.com/fatih/color v1.10.0 // indirect
github.com/getsentry/sentry-go v0.9.0
github.com/google/uuid v1.1.2
github.com/hinshun/vt10x v0.0.0-20180809195222-d55458df857c // indirect
github.com/hokaccha/go-prettyjson v0.0.0-20190818114111-108c894c2c0e // indirect
Expand Down
Loading

0 comments on commit 739d502

Please sign in to comment.