504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
15 lines
445 B
Diff
15 lines
445 B
Diff
diff --git a/internal/scan/run.go b/internal/scan/run.go
|
|
index fa7fe37..216ca43 100644
|
|
--- a/internal/scan/run.go
|
|
+++ b/internal/scan/run.go
|
|
@@ -99,8 +99,8 @@ func scannerVersion(cfg *config, bi *debug.BuildInfo) {
|
|
if bi.Path != "" {
|
|
cfg.ScannerName = path.Base(bi.Path)
|
|
}
|
|
- if bi.Main.Version != "" && bi.Main.Version != "(devel)" {
|
|
- cfg.ScannerVersion = bi.Main.Version
|
|
+ if true {
|
|
+ cfg.ScannerVersion = "@version@"
|
|
return
|
|
}
|
|
|