diff --git a/.goreleaser.yml b/.goreleaser.yml index 67bd3f4..29e2e31 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,7 +17,6 @@ builds: - >- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} - -X main.date={{.CommitDate}} release: draft: true github: diff --git a/main.go b/main.go index ec5cbe1..0640d41 100644 --- a/main.go +++ b/main.go @@ -15,7 +15,6 @@ var ( // These get filled at build time with the proper values. version = "development" commit = "HEAD" - date = "latest" ) // V3Flags are the flags for the SNMPv3 @@ -196,9 +195,5 @@ func buildVersion() string { result = fmt.Sprintf("%s\ncommit: %s", result, commit) } - if date != "" { - result = fmt.Sprintf("%s\ndate: %s", result, date) - } - return result }