Set all versions and print in version flag

This commit is contained in:
Jan Eitzinger
2023-04-12 10:43:46 +02:00
parent 9ea0d6c8d1
commit 10f4e09562
6 changed files with 13 additions and 11 deletions

View File

@@ -84,6 +84,8 @@ func main() {
fmt.Printf("Version:\t%s\n", version)
fmt.Printf("Git hash:\t%s\n", hash)
fmt.Printf("Build time:\t%s\n", buildTime)
fmt.Printf("SQL db version:\t%d\n", repository.Version)
fmt.Printf("Job archive version:\t%d\n", archive.Version)
os.Exit(0)
}