comparison version.go @ 49:88a7d4a1ff62 draft

Add release script
author prologic
date Fri, 17 Sep 2021 23:43:22 +0000
parents
children c6785950280e
comparison
equal deleted inserted replaced
48:d004c7c4ddf4 49:88a7d4a1ff62
1 package main
2
3 import (
4 "fmt"
5 )
6
7 var (
8 // Version release version
9 Version = "0.0.1"
10
11 // Commit will be overwritten automatically by the build system
12 Commit = "HEAD"
13 )
14
15 // FullVersion display the full version and build
16 func FullVersion() string {
17 return fmt.Sprintf("%s@%s", Version, Commit)
18 }