Add build time to compile flags

This commit is contained in:
kolaente 2020-03-02 20:24:26 +01:00
parent f2f17b11e8
commit 7de26a462f
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
4 changed files with 7 additions and 3 deletions

View file

@ -39,7 +39,7 @@ var webCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
// Version notification
log.Infof("Vikunja version %s", version.Version)
log.Infof("Vikunja version %s, built at %s", version.Version, version.BuildTime)
// Additional swagger information
swagger.SwaggerInfo.Version = version.Version