From 8f488f9dc503e1455618a5c9c05b233f55d99b61 Mon Sep 17 00:00:00 2001 From: b4b4r07 Date: Tue, 25 Feb 2020 12:57:13 +0900 Subject: [PATCH] Remove unused variable --- .goreleaser.yml | 1 - main.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 7dab406..3acdbf8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,7 +10,6 @@ builds: ldflags: - -s -w - -X main.version={{.Version}} - - -X main.revision={{.ShortCommit}} env: - CGO_ENABLED=0 archives: diff --git a/main.go b/main.go index f0d0b2d..c17c29e 100644 --- a/main.go +++ b/main.go @@ -20,8 +20,7 @@ const ( name = "tfnotify" description = "Notify the execution result of terraform command" - version = "unset" - revision = "unset" + version = "unset" ) type tfnotify struct {