Fixed constant name.
This commit is contained in:
parent
88699c0cff
commit
f755414cb5
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -7,7 +7,7 @@ import (
|
||||||
"os/exec"
|
"os/exec"
|
||||||
)
|
)
|
||||||
//?
|
//?
|
||||||
const header = "package main\nconst Value = \""
|
const header = "package main\nconst gitVersion = \""
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
cmd := exec.Command("git", "describe", "--tags", "--abbrev=0")
|
cmd := exec.Command("git", "describe", "--tags", "--abbrev=0")
|
||||||
|
|
Loading…
Add table
Reference in a new issue