Commit 688bd62
authored
Add release detection from Kamal deployment (#2895)
Kamal provides a KAMAL_VERSION environment variable in the containers it builds and deploys. It's the SHA of the commit the release is based on.
- Added a path to use the environment variable in ReleaseDetector if set. It's done after looking for SENTRY_RELEASE, but before looking for a git repo.
- Added spec for coverage.1 parent e3ec142 commit 688bd62
File tree
2 files changed
+14
-0
lines changed- sentry-ruby
- lib/sentry
- spec
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1235 | 1235 | | |
1236 | 1236 | | |
1237 | 1237 | | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
1238 | 1247 | | |
1239 | 1248 | | |
1240 | 1249 | | |
| |||
0 commit comments