Fixed constant name.

This commit is contained in:
Foil-hat-guy 2025-04-20 02:11:52 +03:00
parent 88699c0cff
commit f755414cb5
No known key found for this signature in database
GPG key ID: 221CC305A7B23591

View file

@ -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")