Merge branch 'main' of github.com:steveyegge/beads
# Conflicts: # .beads/beads.jsonl
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strings"
|
||||
"testing"
|
||||
)
|
||||
@@ -250,7 +251,11 @@ func init() {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
testBD = filepath.Join(tmpDir, "bd")
|
||||
bdBinary := "bd"
|
||||
if runtime.GOOS == "windows" {
|
||||
bdBinary = "bd.exe"
|
||||
}
|
||||
testBD = filepath.Join(tmpDir, bdBinary)
|
||||
cmd := exec.Command("go", "build", "-o", testBD, ".")
|
||||
if out, err := cmd.CombinedOutput(); err != nil {
|
||||
panic(string(out))
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
var (
|
||||
// Version is the current version of bd (overridden by ldflags at build time)
|
||||
Version = "0.21.8"
|
||||
Version = "0.21.9"
|
||||
// Build can be set via ldflags at compile time
|
||||
Build = "dev"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user