Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit 351a2b2

Browse files
committed
Add release name to the sentry
1 parent cce1717 commit 351a2b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/sentry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
66

77
// capture release as git sha
8-
// 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')),
8+
'release' => trim(exec('git name-rev --name-only HEAD')),
99

1010
'breadcrumbs' => [
1111
// Capture Laravel logs in breadcrumbs

0 commit comments

Comments
 (0)