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 {