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:
Eli Ribble 2026-04-28 16:36:48 +00:00
parent 20bf272746
commit 38359e20e9
No known key found for this signature in database
5 changed files with 35 additions and 21 deletions

View file

@ -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
}