From 2097899a4dff3ce58f55fe44f78803643495f672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 6 Feb 2023 19:12:58 +0100 Subject: [PATCH] Disable gh update checker in our precompiled binaries This is because most people install gh through a package manager, and people usually prefer for their package manager to check for updates instead of the gh process doing it at runtime. --- .goreleaser.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 5eb035433..860b337b3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,7 +16,6 @@ builds: main: ./cmd/gh ldflags: - -s -w -X github.com/cli/cli/v2/internal/build.Version={{.Version}} -X github.com/cli/cli/v2/internal/build.Date={{time "2006-01-02"}} - - -X main.updaterEnabled=cli/cli id: macos goos: [darwin] goarch: [amd64]