mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-11 01:29:19 +01:00
version: append commit hash to version string
This commit is contained in:
parent
3d29e9dc66
commit
70038754ff
1 changed files with 3 additions and 0 deletions
|
@ -55,6 +55,9 @@ func version() string {
|
|||
version = fmt.Sprintf("%s+%s", version, build)
|
||||
}
|
||||
|
||||
// Append commit hash of current build to version.
|
||||
version = fmt.Sprintf("%s commit=%s", version, Commit)
|
||||
|
||||
return version
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue