Skip to content

Commit

Permalink
feat: add KOI env
Browse files Browse the repository at this point in the history
close #29
  • Loading branch information
ilharp committed May 30, 2022
1 parent fd1721b commit 2ad4e1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/koi/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var (
// Log
l = log.WithField("package", "config")

Version = "INTERNAL"
Version = "v0.0.0"

Config *KoiConfig

Expand Down
4 changes: 4 additions & 0 deletions packages/koi/daemon/node_cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,10 @@ func CreateNodeCmd(
env = append(env, "PATH="+pathEnv)
l.Debugf("PATH=%s", pathEnv)

koiEnv := "KOI=" + config.Version
env = append(env, koiEnv)
l.Debug(koiEnv)

l.Debugf("PWD=%s", dir)

l.Debug("Now constructing NodeCmd.")
Expand Down

0 comments on commit 2ad4e1a

Please sign in to comment.