From fafc017fbdda08bd4606ceb5479040b7b1f109c7 Mon Sep 17 00:00:00 2001 From: "Tobias Wellnitz, DH1TW" Date: Sun, 28 Jan 2024 19:04:53 +0100 Subject: [PATCH] autogenerate year when printing remoteAudio version --- cmd/version.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/version.go b/cmd/version.go index c2e8a9d..e748711 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -28,6 +28,7 @@ func init() { func printRemoteAudioVersion() { buildDate := time.Now().Format(time.RFC3339) + fmt.Printf("copyright Tobias Wellnitz, DH1TW (%d)\n", time.Now().Year()) fmt.Printf("remoteAudio Version: %s, %s/%s, BuildDate: %s, Commit: %s\n", version, runtime.GOOS, runtime.GOARCH, buildDate, commitHash) }