Skip to content

Commit

Permalink
make version mutable so it can be overridden on build
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Oct 7, 2020
1 parent 41ea84b commit 4d7d6ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/apex/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

// Version of program.
const Version = "master"
var Version = "master"

// Command config.
var Command = &cobra.Command{
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/apex/apex

go 1.15

require (
github.com/Unknwon/goconfig v0.0.0-20161121224340-87a46d97951e
github.com/apex/log v1.0.0
Expand Down

0 comments on commit 4d7d6ad

Please sign in to comment.