Add version

This commit is contained in:
Jonas Kaninda
2024-12-06 14:25:08 +01:00
parent 9f25a20a28
commit adf6a478fe
6 changed files with 10 additions and 6 deletions

View File

@@ -36,8 +36,6 @@ const MainExample = "backup --dbname database --disable-compression\n" +
"backup --dbname database --storage s3 --path /custom-path\n" +
"restore --dbname database --file db_20231219_022941.sql.gz"
var Version string
func VERSION(def string) string {
build := os.Getenv("VERSION")
if build == "" {