diff options
| author | Paul Buetow <paul@buetow.org> | 2026-06-27 00:33:05 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-06-27 00:33:05 +0300 |
| commit | ceb3fbdfad9c1d636f50501b6105b01182aa5fcb (patch) | |
| tree | 8b78ab2a182f40379e5b085c915782249cc2102a | |
| parent | 71feb3e7817be0a0adcff77cc12d98f6b0ac043e (diff) | |
Disable VCS stamping in build to fix doas install
| -rw-r--r-- | Magefile.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Magefile.go b/Magefile.go index f3f7a16..270e46a 100644 --- a/Magefile.go +++ b/Magefile.go @@ -22,7 +22,7 @@ var Default = Build // Build compiles the tasksamurai binary. func Build() error { fmt.Println("Building tasksamurai...") - if err := sh.RunV("go", "build", "-o", binaryName, "./cmd/tasksamurai"); err != nil { + if err := sh.RunV("go", "build", "-buildvcs=false", "-o", binaryName, "./cmd/tasksamurai"); err != nil { return fmt.Errorf("build %s: %w", binaryName, err) } return nil |
