From 07efdec9287ad2b223dcea6519bf9327bcce44c4 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Mon, 15 Jul 2024 02:06:33 +0800 Subject: [PATCH] goreleaser: remove gopfmt --- .goreleaser.yaml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 369c2a59d..a3a07ad2b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -26,18 +26,6 @@ builds: ldflags: - -X github.com/goplus/gop/env.buildVersion=v{{.Version}} - -X github.com/goplus/gop/env.buildDate={{.Date}} - - id: gopfmt - env: - - CGO_ENABLED=0 - goos: - - linux - - windows - - darwin - main: ./cmd/gopfmt - binary: bin/gopfmt - ldflags: - - -X github.com/goplus/gop/env.buildVersion=v{{.Version}} - - -X github.com/goplus/gop/env.buildDate={{.Date}} archives: - format: tar.gz @@ -261,9 +249,6 @@ nfpms: - src: "/usr/lib/{{ .ProjectName }}/bin/gop" dst: /usr/bin/gop type: symlink - - src: "/usr/lib/{{ .ProjectName }}/bin/gopfmt" - dst: /usr/bin/gopfmt - type: symlink snapcrafts: - id: gop @@ -352,11 +337,6 @@ snapcrafts: aliases: ["gop"] environment: GOPROOT: "$SNAP" - gopfmt: - command: "gopfmt" - aliases: ["gopfmt"] - environment: - GOPROOT: "$SNAP" checksum: name_template: "{{ .ProjectName }}{{ .Version }}.checksums.txt"