Skip to content

Commit

Permalink
Merge pull request #1933 from goplus/main
Browse files Browse the repository at this point in the history
goreleaser: remove gopfmt
  • Loading branch information
xushiwei authored Jul 14, 2024
2 parents 90f30bc + 8f5f2e9 commit f209578
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit f209578

Please sign in to comment.