Fix version passing

This commit is contained in:
Justin Hawkins 2025-04-25 17:10:59 +09:30
parent 08b56d1c77
commit 661e676fd2

View File

@ -19,7 +19,8 @@ var (
func main() {
versionInfo := &v.Manager{
VersionInfo: v.Info{CurrentVersion: version},
// version from goreleaser has no leading 'v', even if the tag does
VersionInfo: v.Info{CurrentVersion: "v" + version},
}
log.Printf("Starting gropple %s - https://github.com/tardisx/gropple", versionInfo.GetInfo().CurrentVersion)