Use auto build version info for embedding version information
This is better, integrates with git, gives us more detail, and I don't have to explicitly pass it around everywhere.
This commit is contained in:
parent
20bf272746
commit
38359e20e9
5 changed files with 35 additions and 21 deletions
|
|
@ -116,9 +116,3 @@ func (res *sessionR) Get(ctx context.Context, r *http.Request, user platform.Use
|
|||
},
|
||||
}, nil
|
||||
}
|
||||
|
||||
var version string = "unknown"
|
||||
|
||||
func SetVersion(v string) {
|
||||
version = v
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue