source:
Main/trunk/version.go
Last change on this file was 4a5f10f, checked in by , 8 weeks ago | |
---|---|
|
|
File size: 300 bytes |
Rev | Line | |
---|---|---|
[4a5f10f] | 1 | package yukari |
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 | } |
Note:
See TracBrowser
for help on using the repository browser.