Commit ac0f516
authored
feat: Add more build metadata like commit hash, commit date, build date and git tag (#121)
* feat: Add more build metadata to Capture and API response #92
- CLI: 'capture --version'
- API: GET /api/v1/metrics | jq '.capture'
Signed-off-by: Mert Şişmanoğlu <[email protected]>
* fix: use YAML anchors for ldflags configuration for 'builds' and 'kos' in goreleaser
Signed-off-by: Mert Şişmanoğlu <[email protected]>
* fix: Show metadata at only CLI mode and delete GitTagURL
Signed-off-by: Mert Şişmanoğlu <[email protected]>
---------
Signed-off-by: Mert Şişmanoğlu <[email protected]>1 parent 7ab5e04 commit ac0f516
2 files changed
+34
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
15 | 20 | | |
16 | 21 | | |
17 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
18 | 37 | | |
19 | 38 | | |
20 | 39 | | |
21 | 40 | | |
22 | 41 | | |
23 | | - | |
| 42 | + | |
24 | 43 | | |
25 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
26 | 51 | | |
27 | 52 | | |
28 | 53 | | |
| |||
0 commit comments