Commit 5cc9428
authored
Print right version when installed via "go install" (#349)
Currently when install with `go install
github.com/roborev-dev/roborev/cmd/roborev@latest`, running `roborev
version` prints `dev`. This PR changes that to take version info from
debug info.1 parent 417819f commit 5cc9428
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| |||
0 commit comments