1.1 KiB
1.1 KiB
Community
The public-facing channels for support and development of Sentry SDKs can be found on Discord.
Testing
$ go test
Watch mode
Use: https://github.com/cespare/reflex
$ reflex -g '*.go' -d "none" -- sh -c 'printf "\n"; go test'
With data race detection
$ go test -race
Coverage
$ go test -race -coverprofile=coverage.txt -covermode=atomic && go tool cover -html coverage.txt
Linting
$ golangci-lint run
Release
-
Update
CHANGELOG.mdwith new version invX.X.Xformat title and list of changes.The command below can be used to get a list of changes since the last tag, with the format used in
CHANGELOG.md:$ git log --no-merges --format=%s $(git describe --abbrev=0).. | sed 's/^/- /' -
Commit with
misc: vX.X.X changelogcommit message and push tomaster. -
Let
craftdo the rest:$ craft prepare X.X.X $ craft publish X.X.X