Skip to content

Commit

Permalink
fix build version
Browse files Browse the repository at this point in the history
  • Loading branch information
nxcc committed May 31, 2024
1 parent 866dbb8 commit b8e6b7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cmd/cuegen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import (
v1alpha3 "github.com/noris-network/cuegen/internal/app/v1alpha3"
)

var build = "dev-build"

func main() {
v1alpha3.Build = build
os.Exit(v1alpha3.Main())
}
2 changes: 1 addition & 1 deletion internal/app/v1alpha3/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const (
//go:embed schema.cue
var configSchema []byte

var Build = "dev-build"
var Build string

func Main() int {

Expand Down

0 comments on commit b8e6b7b

Please sign in to comment.